Files

5894 lines
177 KiB
C++
Raw Permalink Normal View History

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "IPlatformFilePak.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "HAL/FileManager.h"
#include "Misc/CoreMisc.h"
#include "Misc/CommandLine.h"
#include "Async/AsyncWork.h"
#include "Serialization/MemoryReader.h"
#include "HAL/IConsoleManager.h"
#include "HAL/LowLevelMemTracker.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Misc/CoreDelegates.h"
#include "Misc/App.h"
#include "Modules/ModuleManager.h"
#include "Misc/SecureHash.h"
#include "HAL/FileManagerGeneric.h"
#include "HAL/IPlatformFileModule.h"
#include "SignedArchiveReader.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Misc/AES.h"
#include "GenericPlatform/GenericPlatformChunkInstall.h"
#include "Async/AsyncFileHandle.h"
#include "Templates/Greater.h"
#include "Serialization/ArchiveProxy.h"
#include "Misc/Base64.h"
#include "HAL/PlatformFilemanager.h"
#if !(IS_PROGRAM || WITH_EDITOR)
#include "Misc/ConfigCacheIni.h"
#endif
#include "ProfilingDebugging/CsvProfiler.h"
#include "Async/MappedFileHandle.h"
DEFINE_LOG_CATEGORY(LogPakFile);
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
DEFINE_STAT(STAT_PakFile_Read);
DEFINE_STAT(STAT_PakFile_NumOpenHandles);
CSV_DECLARE_CATEGORY_MODULE_EXTERN(CORE_API, FileIO);
#ifndef DISABLE_NONUFS_INI_WHEN_COOKED
#define DISABLE_NONUFS_INI_WHEN_COOKED 0
#endif
int32 ParseChunkIDFromFilename(const FString& InFilename)
{
FString ChunkIdentifier(TEXT("pakchunk"));
FString BaseFilename = FPaths::GetBaseFilename(InFilename);
int32 ChunkNumber = INDEX_NONE;
if (BaseFilename.StartsWith(ChunkIdentifier))
{
int32 StartOfNumber = ChunkIdentifier.Len();
int32 DigitCount = 0;
if (FChar::IsDigit(BaseFilename[StartOfNumber]))
{
while ((DigitCount + StartOfNumber) < BaseFilename.Len() && FChar::IsDigit(BaseFilename[StartOfNumber + DigitCount]))
{
DigitCount++;
}
if ((StartOfNumber + DigitCount) < BaseFilename.Len())
{
FString ChunkNumberString = BaseFilename.Mid(StartOfNumber, DigitCount);
check(ChunkNumberString.IsNumeric());
TTypeFromString<int32>::FromString(ChunkNumber, *ChunkNumberString);
}
}
}
return ChunkNumber;
}
// Registered encryption key cache
class FEncryptionKeyCache
{
public:
void AddKey(const FGuid& InGuid, const FAES::FAESKey InKey)
{
FScopeLock Lock(&SyncObject);
if (!Keys.Contains(InGuid))
{
Keys.Add(InGuid, InKey);
}
}
bool GetKey(const FGuid& InGuid, FAES::FAESKey& OutKey)
{
FScopeLock Lock(&SyncObject);
if (const FAES::FAESKey* Key = Keys.Find(InGuid))
{
OutKey = *Key;
return true;
}
return false;
}
bool const HasKey(const FGuid& InGuid)
{
return Keys.Contains(InGuid);
}
private:
TMap<FGuid, FAES::FAESKey> Keys;
FCriticalSection SyncObject;
};
FEncryptionKeyCache& GetRegisteredEncryptionKeys()
{
static FEncryptionKeyCache Instance;
return Instance;
}
#if !UE_BUILD_SHIPPING
static void TestRegisterEncryptionKey(const TArray<FString>& Args)
{
if (Args.Num() == 2)
{
FGuid EncryptionKeyGuid;
FAES::FAESKey EncryptionKey;
if (FGuid::Parse(Args[0], EncryptionKeyGuid))
{
TArray<uint8> KeyBytes;
if (FBase64::Decode(Args[1], KeyBytes))
{
check(KeyBytes.Num() == sizeof(FAES::FAESKey));
FMemory::Memcpy(EncryptionKey.Key, &KeyBytes[0], sizeof(EncryptionKey.Key));
FCoreDelegates::GetRegisterEncryptionKeyDelegate().ExecuteIfBound(EncryptionKeyGuid, EncryptionKey);
}
}
}
}
static FAutoConsoleCommand CVar_TestRegisterEncryptionKey(
TEXT("pak.TestRegisterEncryptionKey"),
TEXT("Test dynamic encryption key registration. params: <guid> <base64key>"),
FConsoleCommandWithArgsDelegate::CreateStatic(TestRegisterEncryptionKey));
#endif
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TPakChunkHash ComputePakChunkHash(const void* InData, int64 InDataSizeInBytes)
{
#if PAKHASH_USE_CRC
return FCrc::MemCrc32(InData, InDataSizeInBytes);
#else
FSHAHash Hash;
FSHA1::HashBuffer(InData, InDataSizeInBytes, Hash.Hash);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
return Hash;
#endif
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#ifndef EXCLUDE_NONPAK_UE_EXTENSIONS
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
#define EXCLUDE_NONPAK_UE_EXTENSIONS 1 // Use .Build.cs file to disable this if the game relies on accessing loose files
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#endif
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 2949393) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2949393 on 2016/04/20 by Graeme.Thornton Orion non-pak file security. - Removed security bypass code from platform pak file - Added a delegate to pak file code which allows the game to decide whether a file should be allowed or not - Added an orion delegate which whitelists appropriate files #rb robert.manuszewski #tests win64 client + dedicated server. golden path. Change 2949232 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: michael.noland Paragon: Added a distinct menu frame rate limit, currently set to 60 fps and not visible in settings (if the user sets a game frame rate limit of below 60, we also clamp the menu limit to that threshold, so they can go down but not up for menus) #jira OR-18017 #rb marcus.wassmer #tests Ran paragon and switched between gameplay, menus, and replays, observing t.MaxFPS at different points #ROBOMERGE-SOURCE: CL 2949231 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2949032 on 2016/04/19 by Zak.Middleton #orion - Lower default NetUpdateFrequency for minions (10->6). Avoid excessive latency for some knockback/knockup abilities that would have noticeable lag by forcing an update sooner when they are triggered. This should have the following effects: 1. Reduce server CPU cost (we tick minions at the net frequency). 2. Reduce server bandwidth 3. Reduce client CPU cost (we move character capsules and perform overlaps when new positions are received). #rb Bart.Bressler, John.Pollard #codereview Dmitry.Rekman #tests MultiPIE AI lane, Replays Change 2948966 on 2016/04/19 by Lina.Halper Added log (check) of the asset info for Anim Per Track contains invalid format key #rb: Michael.Noland #code review: Martin.Wilson, Laurent.Delayen, Michael.Noland #tests: editor/ cooked and test with AI_Tests with 10 bots. Change 2948876 on 2016/04/19 by Michael.Noland PS4: Validate that the texture pool size is not set to automatic (-1, which will crash later on as an attempt to allocate too much memory) #rb none #codereview marcus.wassmer #tests Ran Paragon on PS4 Change 2948765 on 2016/04/19 by Daniel.Lamb Removed AssetImportData tag from cooked asset registry builds. #rb Andrew.Grant #test Cook orion Change 2948691 on 2016/04/19 by Marcus.Wassmer Fix copytoresolvetarget ensure #rb none #test pc agora Change 2948633 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt [AUTOMERGE] Fix copytoresolve crash and change validation to ensure. #test PC editor / PC golden path #rb none -------- Integrated using branch //Orion/Main_to_//Orion/Release-Next (reversed) of change#2948169 by Marcus.Wassmer on 2016/04/19 10:50:32. #ROBOMERGE-SOURCE: CL 2948632 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948507 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: andrew.grant Merging 2937781 (Pak signing) using //Orion/Dev-General_to_Release #rb none #tests cooked client, checked game runs #ROBOMERGE-SOURCE: CL 2948497 in //Orion/Release-0.24.1/... via CL 2948506 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948431 on 2016/04/19 by Steve.Robb CL#s 2919775 and 2942793 integrated to prevent annotation map performance problems on shutdown and asserts in PIE. #codereview robert.manuszewski,bob.tellez #rb bob.tellez #tests Ran editor Change 2948408 on 2016/04/19 by Leslie.Nivison Adding .tps #rb none #test none Change 2948185 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: chris.bunner Fix for HLOD visibility freeze. #tests Golden Path, Editor #rb rolando.caloca, michael.noland #lockdown andrew.grant #jira OR-19863 #ROBOMERGE-SOURCE: CL 2948182 in //Orion/Release-0.24.1/... via CL 2948183 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948149 on 2016/04/19 by Simon.Tovey Fixed crash. Collision rendering path was not dealing with mesh batch with 0 triangles where other paths do. #rb none #tests No more crash #codereview Marcus.Wassmer Change 2948129 on 2016/04/19 by Lukasz.Furman fixed gameplay debugger getting stuck with outdated data pack on client, changed names of AI related debug cvars #rb none #tests game, PIE #codereview Mieszko.Zielinski Change 2948027 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: graeme.thornton Fix for OR-20033 - CRASH: Client will crash with FRCPassPostProcessCircleDOFSetup #rb none #tests checked game runs without crashing #ROBOMERGE-SOURCE: CL 2948017 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2947558 on 2016/04/18 by Matt.Kuhlenschmidt Fix compile error #rb none, #tests none Change 2947509 on 2016/04/18 by Matt.Kuhlenschmidt Added more logging to track down https://jira.ol.epicgames.net/browse/OR-19841 #rb none, #tests none Change 2947412 on 2016/04/18 by Ryan.Gerleve Fix shadowed variable. #rb none #tests none Change 2947377 on 2016/04/18 by Jamie.Dale Gather paths are now sorted by fuzzy-ness, so that more specific includes beat less specific excludes #rb Matt.Kuhlenschmidt #tests Built for Windows. Ran a gather, and confirmed that explicitly included heroes were now gathered, and that generically excluded heroes were absent from the gather. Change 2947351 on 2016/04/18 by Ryan.Gerleve Allow overriding the demo.AsyncLoadWorld setting with a URL option when playing a replay. Store the entire URL in the demo net driver instead of just the map name, so that the options can be accessed later. #tests golden path, replays #rb john.pollard Change 2947103 on 2016/04/18 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 24.1 @ CL 2947071 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2947102 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2947007 on 2016/04/18 by Zak.Middleton #ue4 - Improve linear smoothing in the presence of low net frequency updates. #rb Bart.Bressler #tests MultiPIE AI with lanes Change 2946994 on 2016/04/18 by Mieszko.Zielinski Improvements to NavigationSystem's "abstract navigation data" support #UE4 #rb Lukasz.Furman #test golden path Change 2946760 on 2016/04/18 by Chris.Bunner Fixing up bad merge, recommit of CL 2819472 - ForceLOD now clamps to available LODs on primitive, i.e. use MinLOD rather than not drawing at all. #tests Editor #rb None Change 2946745 on 2016/04/18 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 24.1 @ CL 2946637 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2946656 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2946645 on 2016/04/18 by Richard.Fawcett When promoting a buidl to staged, prevent enumeration of files already in S3 Enumerating files in S3 is a slow process, and it turns out that simply uploading all chunks blindly is more efficient than enumerating existing chunks and selectively uploading only the new ones. #rb Leigh.Swift #tests This technique has already been used in launcher promotions for several months Change 2946622 on 2016/04/18 by Richard.Fawcett By default, when enumerating chunks from a manifest file, skip checking they exist on disk at enumeration time. This will fail anyway further down the line if the files don't exist, but will improve speed of stage promotions by around five minutes. In practice, we have NEVER seen a job fail at this point because of the existence check. #rb Leigh.Swift #tests Ensure that output of ExtractDataFilenamesFromManifest method is identical both with and without bSkipExistsCheck specified. Change 2945812 on 2016/04/15 by Daniel.Lamb Fixed error in diff cooked build commandlet. #rb ben.marsh #test Compile. Change 2945110 on 2016/04/15 by Matt.Kuhlenschmidt Fix crash exporting actors with non-scene components to fbx #rb none, #tests full scene exporting on maps that crashed #codereview alexis.matte Change 2945078 on 2016/04/15 by Simon.Tovey Fix for OR-19778 When some pooled systems are reused, on init they have a non zero lod level but the emitter instances are created at LOD 0 initially. So the component did not think it had to update it's LOD but the emitters were not at the correct LOD. Have forced a LOD set on init when the component LOD is non-zero. #rb none #tests Works in editor and game. #codereview Olaf.Piesche Change 2944664 on 2016/04/14 by Uriel.Doyon Fix to SM4 compilation issue #jira OR-19706 #rb marcus.wassmer #tests tested editor in SM4 and SM5 Change 2944642 on 2016/04/14 by Lukasz.Furman changed waypoint switch conditions in meta nav paths #rb none #tests PIE #codereview Mieszko.Zielinski Change 2944599 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: andrew.grant Added sha1 to UnrealPak list output #rb none #tests listed content of pakfile #ROBOMERGE-SOURCE: CL 2944595 in //Orion/Release-0.24/... via CL 2944597 via CL 2944598 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2944441 on 2016/04/14 by Marcus.Wassmer Duplicate change to output shader compiler errors. #rb none #test run PC and see errors. Change 2944437 on 2016/04/14 by John.Pollard Possible fix for https://jira.ol.epicgames.net/browse/OR-19614 #rb JoshM #codereview Josh.Markiewicz #tests Golden path matchmaking Change 2944430 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: michael.noland Engine: Added support for more/fewer settings in individual categories to the editor scalability control widget #rb david.ratti #tests Tested in the editor #ROBOMERGE-SOURCE: CL 2944428 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2944198 on 2016/04/14 by David.Ratti Paragon - register for slow/stun/root/silence callbacks on any tag count change, not just add/remove. This is so the UI will update if you get another stack of a stackable slow GE. Ability system - unify client stack count change code path with server. Client now properly update owner ASC's tag map and broadcasts all delegates there. #rb dayY #tests pie Change 2944124 on 2016/04/14 by Wes.Hunt Change the TPS redirects for DX modules to point to the proper DX redist TPS which is what packaged games will need. #codereview:leslie.nivison #rb none #tests ran UAT ListThirdPartySoftware <for Orion> Change 2944107 on 2016/04/14 by Wes.Hunt MeshUtilities now depends on new module nvTessLib to better track the third party dependency. #codereview:daniel.wright #rb none #tests build OrionClient/Editor for Win64 Change 2944102 on 2016/04/14 by Wes.Hunt Tweak to UBT -ListBuildFolders to do a distinct in a better place to cut down on duplicate module searches. #tests ran the UBT command #rb none Change 2943851 on 2016/04/14 by Ryan.Gerleve Fix the ForEachNetDriver helper function to get the world context directly off the world instead of going through the game instance. Ensures the correct net drivers will be used when there are multiple worlds but only one game instance. #rb john.pollard #tests golden path, replays, PIE Change 2943847 on 2016/04/14 by Ryan.Gerleve Fixes to support client replay recording & playback in another world: When recording a replay, only swap actor roles if the remote role is ROLE_Authority When loading a replay checkpoint, call NetworkRemapPath to make sure paths have the correct name in the GuidCache #rb john.pollard #tests golden path, replays, PIE Change 2943691 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_24 - Fix for OR-19609, OR-19610, and OR-19611 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2943687 in //Orion/Release-0.24/... via CL 2943688 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2943508 on 2016/04/14 by Richard.Fawcett Automation: Add support for multipart file uploads to Amazon S3 to increase speed of large file uploads. #jira OPPBUILD-44 #rb Leigh.Swift #tests Uploaded files to S3 using the new routines, downlaoded via AWS management console and ensured downloaded files identical to uploaded ones Change 2943274 on 2016/04/13 by jason.bestimt #ORION_MAIN - Merge 24 @ CL 2943257 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2943271 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: david.nikdel, jason.bestimt Change 2943178 on 2016/04/13 by Olaf.Piesche Bumping size of the particle curve texture to 512x512 #rb martin.mittring #tests PC Editor, Game Change 2943174 on 2016/04/13 by Aaron.McLeran OR-19392 Ensure condition failed: (*RequiresInitialization == 0) on loading into PVP match - Removing ensure since there is a rare edge case where it's possible for a sound looping node may get ResetChildren called twice. - Condition is when a child random node o fa looping node has a blank entry and results in no sound chosen in a given frame (which results in ResetChildren getting called). Later in the frame, if a sound had previously been playing with an active sound, it will have stop called on it, which will call NotifyWaveInstanceFinished and hit the ensure. Simply using the branch to check if the looping node has been initialized will work fine in this and other cases. #codereview Bob.Tellez #rb Bob.Tellez #tests ran orion with this change testing problematic sound cue Change 2943042 on 2016/04/13 by Rob.Cannaday Fix crash in HTTP completion delegates on shutdown Stop ticking HTTP retry manager after FOnlineSubsystemImpl::Shutdown has been called #rb josh.markiewicz #tests shutting down multiple times Change 2942913 on 2016/04/13 by Lukasz.Furman added meta navmesh paths #orion #rb Mieszko.Zielinski #tests PIE Change 2942132 on 2016/04/13 by Wes.Hunt Enable UBT -ListBuildFolders to operate on Mac and iOS platforms without having to fully set up the remote environment. #codereview:leslie.nivison #rb peter.sauerbrei #tests running UBT with and without -listbuildfolders Change 2941651 on 2016/04/12 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 2941645 #RB:none #Tests:none Change 2941539 on 2016/04/12 by Laurent.Delayen FABRIK: Normalize outgoing rotations. Fixes Chains Q ability crashing. #rb none #tests Chains not crashing Change 2941469 on 2016/04/12 by Wes.Hunt Fix UBT -ListBuildFolders to not prep target for deployment. #codereview:leslie.nivison #rb none #tests tested -ListBuildFolders for Android Change 2941434 on 2016/04/12 by Leslie.Nivison Adding/cleaning up .tps files #rb none #test none Change 2941241 on 2016/04/12 by Daniel.Lamb Removed shadername from the shader code to fix deterministic material cooking issue. #jira UE-29320 #codereview Marcus.Wassmer #rb Marcus.Wassmer #test Running editor, cooking orion. Change 2941046 on 2016/04/12 by Laurent.Delayen Added safety net for non state AnimNotifies having a non-zero EndTriggerTimeOffset. Fixes Twinblast double shot for the left primary attack. #rb benn.gallagher #codereview lina.halper, ray.arnett, aaron.eady #tests twinblast's LMB Change 2941032 on 2016/04/12 by Jason.Bestimt #ORION_24 - Merge MAIN @ CL 2940950 #RB:none #Tests:none [CL 2952833 by Andrew Grant in Main branch]
2016-04-22 11:21:10 -04:00
FFilenameSecurityDelegate& FPakPlatformFile::GetFilenameSecurityDelegate()
{
static FFilenameSecurityDelegate Delegate;
return Delegate;
}
FPakChunkSignatureCheckFailedHandler& FPakPlatformFile::GetPakChunkSignatureCheckFailedHandler()
{
static FPakChunkSignatureCheckFailedHandler Delegate;
return Delegate;
}
FPakMasterSignatureTableCheckFailureHandler& FPakPlatformFile::GetPakMasterSignatureTableCheckFailureHandler()
{
static FPakMasterSignatureTableCheckFailureHandler Delegate;
return Delegate;
}
void FPakPlatformFile::GetFilenamesInChunk(const FString& InPakFilename, const TArray<int32>& InChunkIDs, TArray<FString>& OutFileList)
{
TArray<FPakListEntry> Paks;
GetMountedPaks(Paks);
for (const FPakListEntry& Pak : Paks)
{
if (Pak.PakFile && Pak.PakFile->GetFilename() == InPakFilename)
{
Pak.PakFile->GetFilenamesInChunk(InChunkIDs, OutFileList);
break;
}
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
#define USE_PAK_PRECACHE (!IS_PROGRAM && !WITH_EDITOR) // you can turn this off to use the async IO stuff without the precache
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
/**
* Precaching
*/
void FPakPlatformFile::GetPakEncryptionKey(FAES::FAESKey& OutKey, const FGuid& InEncryptionKeyGuid)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
{
OutKey.Reset();
if (InEncryptionKeyGuid.IsValid())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
{
verify(GetRegisteredEncryptionKeys().GetKey(InEncryptionKeyGuid, OutKey));
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
}
else
{
FCoreDelegates::GetPakEncryptionKeyDelegate().ExecuteIfBound(OutKey.Key);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
}
}
TSharedPtr<FRSA::FKey, ESPMode::ThreadSafe> FPakPlatformFile::GetPakSigningKey()
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
{
static TSharedPtr<FRSA::FKey, ESPMode::ThreadSafe> Key;
static FCriticalSection Lock;
Lock.Lock();
if (!Key.IsValid())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
{
FCoreDelegates::FPakSigningKeysDelegate& Delegate = FCoreDelegates::GetPakSigningKeysDelegate();
if (Delegate.IsBound())
{
TArray<uint8> Exponent;
TArray<uint8> Modulus;
Delegate.Execute(Exponent, Modulus);
Key = FRSA::CreateKey(Exponent, TArray<uint8>(), Modulus);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
}
Lock.Unlock();
return Key;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
DECLARE_DWORD_ACCUMULATOR_STAT(TEXT("PakCache Sync Decrypts (Uncompressed Path)"), STAT_PakCache_SyncDecrypts, STATGROUP_PakFile);
DECLARE_FLOAT_ACCUMULATOR_STAT(TEXT("PakCache Decrypt Time"), STAT_PakCache_DecryptTime, STATGROUP_PakFile);
DECLARE_DWORD_ACCUMULATOR_STAT(TEXT("PakCache Async Decrypts (Compressed Path)"), STAT_PakCache_CompressedDecrypts, STATGROUP_PakFile);
DECLARE_DWORD_ACCUMULATOR_STAT(TEXT("PakCache Async Decrypts (Uncompressed Path)"), STAT_PakCache_UncompressedDecrypts, STATGROUP_PakFile);
void DecryptData(uint8* InData, uint32 InDataSize, FGuid InEncryptionKeyGuid)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
SCOPE_SECONDS_ACCUMULATOR(STAT_PakCache_DecryptTime);
FAES::FAESKey Key;
FPakPlatformFile::GetPakEncryptionKey(Key, InEncryptionKeyGuid);
check(Key.IsValid());
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
FAES::DecryptData(InData, InDataSize, Key);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
#if USE_PAK_PRECACHE
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 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 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 by Arciel.Rekman Linux: fix crash due to lambda lifetime issues (UE-54040). - The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
#include "Async/TaskGraphInterfaces.h"
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
#define PAK_CACHE_GRANULARITY (64*1024)
static_assert((PAK_CACHE_GRANULARITY % FPakInfo::MaxChunkDataSize) == 0, "PAK_CACHE_GRANULARITY must be set to a multiple of FPakInfo::MaxChunkDataSize");
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
#define PAK_CACHE_MAX_REQUESTS (8)
#define PAK_CACHE_MAX_PRIORITY_DIFFERENCE_MERGE (AIOP_Normal - AIOP_MIN)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#define PAK_EXTRA_CHECKS DO_CHECK
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
DECLARE_MEMORY_STAT(TEXT("PakCache Current"), STAT_PakCacheMem, STATGROUP_Memory);
DECLARE_MEMORY_STAT(TEXT("PakCache High Water"), STAT_PakCacheHighWater, STATGROUP_Memory);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
DECLARE_FLOAT_ACCUMULATOR_STAT(TEXT("PakCache Signing Chunk Hash Time"), STAT_PakCache_SigningChunkHashTime, STATGROUP_PakFile);
DECLARE_MEMORY_STAT(TEXT("PakCache Signing Chunk Hash Size"), STAT_PakCache_SigningChunkHashSize, STATGROUP_PakFile);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static int32 GPakCache_Enable = 1;
static FAutoConsoleVariableRef CVar_Enable(
TEXT("pakcache.Enable"),
GPakCache_Enable,
TEXT("If > 0, then enable the pak cache.")
);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
int32 GPakCache_MaxRequestsToLowerLevel = 2;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static FAutoConsoleVariableRef CVar_MaxRequestsToLowerLevel(
TEXT("pakcache.MaxRequestsToLowerLevel"),
GPakCache_MaxRequestsToLowerLevel,
TEXT("Controls the maximum number of IO requests submitted to the OS filesystem at one time. Limited by PAK_CACHE_MAX_REQUESTS.")
);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
int32 GPakCache_MaxRequestSizeToLowerLevelKB = 1024;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static FAutoConsoleVariableRef CVar_MaxRequestSizeToLowerLevelKB(
TEXT("pakcache.MaxRequestSizeToLowerLevellKB"),
GPakCache_MaxRequestSizeToLowerLevelKB,
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
TEXT("Controls the maximum size (in KB) of IO requests submitted to the OS filesystem.")
);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
int32 GPakCache_NumUnreferencedBlocksToCache = 10;
static FAutoConsoleVariableRef CVar_NumUnreferencedBlocksToCache(
TEXT("pakcache.NumUnreferencedBlocksToCache"),
GPakCache_NumUnreferencedBlocksToCache,
TEXT("Controls the maximum number of unreferenced blocks to keep. This is a classic disk cache and the maxmimum wasted memory is pakcache.MaxRequestSizeToLowerLevellKB * pakcache.NumUnreferencedBlocksToCache.")
);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
class FPakPrecacher;
typedef uint64 FJoinedOffsetAndPakIndex;
static FORCEINLINE uint16 GetRequestPakIndexLow(FJoinedOffsetAndPakIndex Joined)
{
return uint16((Joined >> 48) & 0xffff);
}
static FORCEINLINE int64 GetRequestOffset(FJoinedOffsetAndPakIndex Joined)
{
return int64(Joined & 0xffffffffffffll);
}
static FORCEINLINE FJoinedOffsetAndPakIndex MakeJoinedRequest(uint16 PakIndex, int64 Offset)
{
check(Offset >= 0);
return (FJoinedOffsetAndPakIndex(PakIndex) << 48) | Offset;
}
enum
{
IntervalTreeInvalidIndex = 0
};
typedef uint32 TIntervalTreeIndex; // this is the arg type of TSparseArray::operator[]
static uint32 GNextSalt = 1;
// This is like TSparseArray, only a bit safer and I needed some restrictions on resizing.
template<class TItem>
class TIntervalTreeAllocator
{
TArray<TItem> Items;
TArray<int32> FreeItems; //@todo make this into a linked list through the existing items
uint32 Salt;
uint32 SaltMask;
public:
TIntervalTreeAllocator()
{
check(GNextSalt < 4);
Salt = (GNextSalt++) << 30;
SaltMask = MAX_uint32 << 30;
verify((Alloc() & ~SaltMask) == IntervalTreeInvalidIndex); // we want this to always have element zero so we can figure out an index from a pointer
}
inline TIntervalTreeIndex Alloc()
{
int32 Result;
if (FreeItems.Num())
{
Result = FreeItems.Pop();
}
else
{
Result = Items.Num();
Items.AddUninitialized();
}
new ((void*)&Items[Result]) TItem();
return Result | Salt;;
}
void EnsureNoRealloc(int32 NeededNewNum)
{
if (FreeItems.Num() + Items.GetSlack() < NeededNewNum)
{
Items.Reserve(Items.Num() + NeededNewNum);
}
}
FORCEINLINE TItem& Get(TIntervalTreeIndex InIndex)
{
TIntervalTreeIndex Index = InIndex & ~SaltMask;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check((InIndex & SaltMask) == Salt && Index != IntervalTreeInvalidIndex && Index >= 0 && Index < (uint32)Items.Num()); //&& !FreeItems.Contains(Index));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
return Items[Index];
}
FORCEINLINE void Free(TIntervalTreeIndex InIndex)
{
TIntervalTreeIndex Index = InIndex & ~SaltMask;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check((InIndex & SaltMask) == Salt && Index != IntervalTreeInvalidIndex && Index >= 0 && Index < (uint32)Items.Num()); //&& !FreeItems.Contains(Index));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Items[Index].~TItem();
FreeItems.Push(Index);
if (FreeItems.Num() + 1 == Items.Num())
{
// get rid everything to restore memory coherence
Items.Empty();
FreeItems.Empty();
verify((Alloc() & ~SaltMask) == IntervalTreeInvalidIndex); // we want this to always have element zero so we can figure out an index from a pointer
}
}
FORCEINLINE void CheckIndex(TIntervalTreeIndex InIndex)
{
TIntervalTreeIndex Index = InIndex & ~SaltMask;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check((InIndex & SaltMask) == Salt && Index != IntervalTreeInvalidIndex && Index >= 0 && Index < (uint32)Items.Num()); // && !FreeItems.Contains(Index));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
};
class FIntervalTreeNode
{
public:
TIntervalTreeIndex LeftChildOrRootOfLeftList;
TIntervalTreeIndex RootOfOnList;
TIntervalTreeIndex RightChildOrRootOfRightList;
FIntervalTreeNode()
: LeftChildOrRootOfLeftList(IntervalTreeInvalidIndex)
, RootOfOnList(IntervalTreeInvalidIndex)
, RightChildOrRootOfRightList(IntervalTreeInvalidIndex)
{
}
~FIntervalTreeNode()
{
check(LeftChildOrRootOfLeftList == IntervalTreeInvalidIndex && RootOfOnList == IntervalTreeInvalidIndex && RightChildOrRootOfRightList == IntervalTreeInvalidIndex); // this routine does not handle recursive destruction
}
};
static TIntervalTreeAllocator<FIntervalTreeNode> GIntervalTreeNodeNodeAllocator;
static FORCEINLINE uint64 HighBit(uint64 x)
{
return x & (1ull << 63);
}
static FORCEINLINE bool IntervalsIntersect(uint64 Min1, uint64 Max1, uint64 Min2, uint64 Max2)
{
return !(Max2 < Min1 || Max1 < Min2);
}
template<typename TItem>
// this routine assume that the pointers remain valid even though we are reallocating
static void AddToIntervalTree_Dangerous(
TIntervalTreeIndex* RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
TIntervalTreeIndex Index,
uint64 MinInterval,
uint64 MaxInterval,
uint32 CurrentShift,
uint32 MaxShift
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
while (true)
{
if (*RootNode == IntervalTreeInvalidIndex)
{
*RootNode = GIntervalTreeNodeNodeAllocator.Alloc();
}
int64 MinShifted = HighBit(MinInterval << CurrentShift);
int64 MaxShifted = HighBit(MaxInterval << CurrentShift);
FIntervalTreeNode& Root = GIntervalTreeNodeNodeAllocator.Get(*RootNode);
if (MinShifted == MaxShifted && CurrentShift < MaxShift)
{
CurrentShift++;
RootNode = (!MinShifted) ? &Root.LeftChildOrRootOfLeftList : &Root.RightChildOrRootOfRightList;
}
else
{
TItem& Item = Allocator.Get(Index);
if (MinShifted != MaxShifted) // crosses middle
{
Item.Next = Root.RootOfOnList;
Root.RootOfOnList = Index;
}
else // we are at the leaf
{
if (!MinShifted)
{
Item.Next = Root.LeftChildOrRootOfLeftList;
Root.LeftChildOrRootOfLeftList = Index;
}
else
{
Item.Next = Root.RightChildOrRootOfRightList;
Root.RightChildOrRootOfRightList = Index;
}
}
return;
}
}
}
template<typename TItem>
static void AddToIntervalTree(
TIntervalTreeIndex* RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
TIntervalTreeIndex Index,
uint32 StartShift,
uint32 MaxShift
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
GIntervalTreeNodeNodeAllocator.EnsureNoRealloc(1 + MaxShift - StartShift);
TItem& Item = Allocator.Get(Index);
check(Item.Next == IntervalTreeInvalidIndex);
uint64 MinInterval = GetRequestOffset(Item.OffsetAndPakIndex);
uint64 MaxInterval = MinInterval + Item.Size - 1;
AddToIntervalTree_Dangerous(RootNode, Allocator, Index, MinInterval, MaxInterval, StartShift, MaxShift);
}
template<typename TItem>
static FORCEINLINE bool ScanNodeListForRemoval(
TIntervalTreeIndex* Iter,
TIntervalTreeAllocator<TItem>& Allocator,
TIntervalTreeIndex Index,
uint64 MinInterval,
uint64 MaxInterval
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
while (*Iter != IntervalTreeInvalidIndex)
{
TItem& Item = Allocator.Get(*Iter);
if (*Iter == Index)
{
*Iter = Item.Next;
Item.Next = IntervalTreeInvalidIndex;
return true;
}
Iter = &Item.Next;
}
return false;
}
template<typename TItem>
static bool RemoveFromIntervalTree(
TIntervalTreeIndex* RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
TIntervalTreeIndex Index,
uint64 MinInterval,
uint64 MaxInterval,
uint32 CurrentShift,
uint32 MaxShift
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
bool bResult = false;
if (*RootNode != IntervalTreeInvalidIndex)
{
int64 MinShifted = HighBit(MinInterval << CurrentShift);
int64 MaxShifted = HighBit(MaxInterval << CurrentShift);
FIntervalTreeNode& Root = GIntervalTreeNodeNodeAllocator.Get(*RootNode);
if (!MinShifted && !MaxShifted)
{
if (CurrentShift == MaxShift)
{
bResult = ScanNodeListForRemoval(&Root.LeftChildOrRootOfLeftList, Allocator, Index, MinInterval, MaxInterval);
}
else
{
bResult = RemoveFromIntervalTree(&Root.LeftChildOrRootOfLeftList, Allocator, Index, MinInterval, MaxInterval, CurrentShift + 1, MaxShift);
}
}
else if (!MinShifted && MaxShifted)
{
bResult = ScanNodeListForRemoval(&Root.RootOfOnList, Allocator, Index, MinInterval, MaxInterval);
}
else
{
if (CurrentShift == MaxShift)
{
bResult = ScanNodeListForRemoval(&Root.RightChildOrRootOfRightList, Allocator, Index, MinInterval, MaxInterval);
}
else
{
bResult = RemoveFromIntervalTree(&Root.RightChildOrRootOfRightList, Allocator, Index, MinInterval, MaxInterval, CurrentShift + 1, MaxShift);
}
}
if (bResult)
{
if (Root.LeftChildOrRootOfLeftList == IntervalTreeInvalidIndex && Root.RootOfOnList == IntervalTreeInvalidIndex && Root.RightChildOrRootOfRightList == IntervalTreeInvalidIndex)
{
check(&Root == &GIntervalTreeNodeNodeAllocator.Get(*RootNode));
GIntervalTreeNodeNodeAllocator.Free(*RootNode);
*RootNode = IntervalTreeInvalidIndex;
}
}
}
return bResult;
}
template<typename TItem>
static bool RemoveFromIntervalTree(
TIntervalTreeIndex* RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
TIntervalTreeIndex Index,
uint32 StartShift,
uint32 MaxShift
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
TItem& Item = Allocator.Get(Index);
uint64 MinInterval = GetRequestOffset(Item.OffsetAndPakIndex);
uint64 MaxInterval = MinInterval + Item.Size - 1;
return RemoveFromIntervalTree(RootNode, Allocator, Index, MinInterval, MaxInterval, StartShift, MaxShift);
}
template<typename TItem>
static FORCEINLINE void ScanNodeListForRemovalFunc(
TIntervalTreeIndex* Iter,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64 MaxInterval,
TFunctionRef<bool(TIntervalTreeIndex)> Func
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
while (*Iter != IntervalTreeInvalidIndex)
{
TItem& Item = Allocator.Get(*Iter);
uint64 Offset = uint64(GetRequestOffset(Item.OffsetAndPakIndex));
uint64 LastByte = Offset + uint64(Item.Size) - 1;
// save the value and then clear it.
TIntervalTreeIndex NextIndex = Item.Next;
if (IntervalsIntersect(MinInterval, MaxInterval, Offset, LastByte) && Func(*Iter))
{
*Iter = NextIndex; // this may have already be deleted, so cannot rely on the memory block
}
else
{
Iter = &Item.Next;
}
}
}
template<typename TItem>
static void MaybeRemoveOverlappingNodesInIntervalTree(
TIntervalTreeIndex* RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64 MaxInterval,
uint64 MinNode,
uint64 MaxNode,
uint32 CurrentShift,
uint32 MaxShift,
TFunctionRef<bool(TIntervalTreeIndex)> Func
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (*RootNode != IntervalTreeInvalidIndex)
{
int64 MinShifted = HighBit(MinInterval << CurrentShift);
int64 MaxShifted = HighBit(MaxInterval << CurrentShift);
FIntervalTreeNode& Root = GIntervalTreeNodeNodeAllocator.Get(*RootNode);
uint64 Center = (MinNode + MaxNode + 1) >> 1;
//UE_LOG(LogTemp, Warning, TEXT("Exploring Node %X [%d, %d] %d%d interval %llX %llX node interval %llX %llX center %llX "), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted, MinInterval, MaxInterval, MinNode, MaxNode, Center);
if (!MinShifted)
{
if (CurrentShift == MaxShift)
{
//UE_LOG(LogTemp, Warning, TEXT("LeftBottom %X [%d, %d] %d%d"), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted);
ScanNodeListForRemovalFunc(&Root.LeftChildOrRootOfLeftList, Allocator, MinInterval, MaxInterval, Func);
}
else
{
//UE_LOG(LogTemp, Warning, TEXT("LeftRecur %X [%d, %d] %d%d"), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted);
MaybeRemoveOverlappingNodesInIntervalTree(&Root.LeftChildOrRootOfLeftList, Allocator, MinInterval, FMath::Min(MaxInterval, Center - 1), MinNode, Center - 1, CurrentShift + 1, MaxShift, Func);
}
}
//UE_LOG(LogTemp, Warning, TEXT("Center %X [%d, %d] %d%d"), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted);
ScanNodeListForRemovalFunc(&Root.RootOfOnList, Allocator, MinInterval, MaxInterval, Func);
if (MaxShifted)
{
if (CurrentShift == MaxShift)
{
//UE_LOG(LogTemp, Warning, TEXT("RightBottom %X [%d, %d] %d%d"), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted);
ScanNodeListForRemovalFunc(&Root.RightChildOrRootOfRightList, Allocator, MinInterval, MaxInterval, Func);
}
else
{
//UE_LOG(LogTemp, Warning, TEXT("RightRecur %X [%d, %d] %d%d"), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted);
MaybeRemoveOverlappingNodesInIntervalTree(&Root.RightChildOrRootOfRightList, Allocator, FMath::Max(MinInterval, Center), MaxInterval, Center, MaxNode, CurrentShift + 1, MaxShift, Func);
}
}
//UE_LOG(LogTemp, Warning, TEXT("Done Exploring Node %X [%d, %d] %d%d interval %llX %llX node interval %llX %llX center %llX "), *RootNode, CurrentShift, MaxShift, !!MinShifted, !!MaxShifted, MinInterval, MaxInterval, MinNode, MaxNode, Center);
if (Root.LeftChildOrRootOfLeftList == IntervalTreeInvalidIndex && Root.RootOfOnList == IntervalTreeInvalidIndex && Root.RightChildOrRootOfRightList == IntervalTreeInvalidIndex)
{
check(&Root == &GIntervalTreeNodeNodeAllocator.Get(*RootNode));
GIntervalTreeNodeNodeAllocator.Free(*RootNode);
*RootNode = IntervalTreeInvalidIndex;
}
}
}
template<typename TItem>
static FORCEINLINE bool ScanNodeList(
TIntervalTreeIndex Iter,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64 MaxInterval,
TFunctionRef<bool(TIntervalTreeIndex)> Func
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
while (Iter != IntervalTreeInvalidIndex)
{
TItem& Item = Allocator.Get(Iter);
uint64 Offset = uint64(GetRequestOffset(Item.OffsetAndPakIndex));
uint64 LastByte = Offset + uint64(Item.Size) - 1;
if (IntervalsIntersect(MinInterval, MaxInterval, Offset, LastByte))
{
if (!Func(Iter))
{
return false;
}
}
Iter = Item.Next;
}
return true;
}
template<typename TItem>
static bool OverlappingNodesInIntervalTree(
TIntervalTreeIndex RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64 MaxInterval,
uint64 MinNode,
uint64 MaxNode,
uint32 CurrentShift,
uint32 MaxShift,
TFunctionRef<bool(TIntervalTreeIndex)> Func
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (RootNode != IntervalTreeInvalidIndex)
{
int64 MinShifted = HighBit(MinInterval << CurrentShift);
int64 MaxShifted = HighBit(MaxInterval << CurrentShift);
FIntervalTreeNode& Root = GIntervalTreeNodeNodeAllocator.Get(RootNode);
uint64 Center = (MinNode + MaxNode + 1) >> 1;
if (!MinShifted)
{
if (CurrentShift == MaxShift)
{
if (!ScanNodeList(Root.LeftChildOrRootOfLeftList, Allocator, MinInterval, MaxInterval, Func))
{
return false;
}
}
else
{
if (!OverlappingNodesInIntervalTree(Root.LeftChildOrRootOfLeftList, Allocator, MinInterval, FMath::Min(MaxInterval, Center - 1), MinNode, Center - 1, CurrentShift + 1, MaxShift, Func))
{
return false;
}
}
}
if (!ScanNodeList(Root.RootOfOnList, Allocator, MinInterval, MaxInterval, Func))
{
return false;
}
if (MaxShifted)
{
if (CurrentShift == MaxShift)
{
if (!ScanNodeList(Root.RightChildOrRootOfRightList, Allocator, MinInterval, MaxInterval, Func))
{
return false;
}
}
else
{
if (!OverlappingNodesInIntervalTree(Root.RightChildOrRootOfRightList, Allocator, FMath::Max(MinInterval, Center), MaxInterval, Center, MaxNode, CurrentShift + 1, MaxShift, Func))
{
return false;
}
}
}
}
return true;
}
template<typename TItem>
static bool ScanNodeListWithShrinkingInterval(
TIntervalTreeIndex Iter,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64& MaxInterval,
TFunctionRef<bool(TIntervalTreeIndex)> Func
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
while (Iter != IntervalTreeInvalidIndex)
{
TItem& Item = Allocator.Get(Iter);
uint64 Offset = uint64(GetRequestOffset(Item.OffsetAndPakIndex));
uint64 LastByte = Offset + uint64(Item.Size) - 1;
//UE_LOG(LogTemp, Warning, TEXT("Test Overlap %llu %llu %llu %llu"), MinInterval, MaxInterval, Offset, LastByte);
if (IntervalsIntersect(MinInterval, MaxInterval, Offset, LastByte))
{
//UE_LOG(LogTemp, Warning, TEXT("Overlap %llu %llu %llu %llu"), MinInterval, MaxInterval, Offset, LastByte);
if (!Func(Iter))
{
return false;
}
}
Iter = Item.Next;
}
return true;
}
template<typename TItem>
static bool OverlappingNodesInIntervalTreeWithShrinkingInterval(
TIntervalTreeIndex RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64& MaxInterval,
uint64 MinNode,
uint64 MaxNode,
uint32 CurrentShift,
uint32 MaxShift,
TFunctionRef<bool(TIntervalTreeIndex)> Func
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (RootNode != IntervalTreeInvalidIndex)
{
int64 MinShifted = HighBit(MinInterval << CurrentShift);
int64 MaxShifted = HighBit(FMath::Min(MaxInterval, MaxNode) << CurrentShift); // since MaxInterval is changing, we cannot clamp it during recursion.
FIntervalTreeNode& Root = GIntervalTreeNodeNodeAllocator.Get(RootNode);
uint64 Center = (MinNode + MaxNode + 1) >> 1;
if (!MinShifted)
{
if (CurrentShift == MaxShift)
{
if (!ScanNodeListWithShrinkingInterval(Root.LeftChildOrRootOfLeftList, Allocator, MinInterval, MaxInterval, Func))
{
return false;
}
}
else
{
if (!OverlappingNodesInIntervalTreeWithShrinkingInterval(Root.LeftChildOrRootOfLeftList, Allocator, MinInterval, MaxInterval, MinNode, Center - 1, CurrentShift + 1, MaxShift, Func)) // since MaxInterval is changing, we cannot clamp it during recursion.
{
return false;
}
}
}
if (!ScanNodeListWithShrinkingInterval(Root.RootOfOnList, Allocator, MinInterval, MaxInterval, Func))
{
return false;
}
MaxShifted = HighBit(FMath::Min(MaxInterval, MaxNode) << CurrentShift); // since MaxInterval is changing, we cannot clamp it during recursion.
if (MaxShifted)
{
if (CurrentShift == MaxShift)
{
if (!ScanNodeListWithShrinkingInterval(Root.RightChildOrRootOfRightList, Allocator, MinInterval, MaxInterval, Func))
{
return false;
}
}
else
{
if (!OverlappingNodesInIntervalTreeWithShrinkingInterval(Root.RightChildOrRootOfRightList, Allocator, FMath::Max(MinInterval, Center), MaxInterval, Center, MaxNode, CurrentShift + 1, MaxShift, Func))
{
return false;
}
}
}
}
return true;
}
template<typename TItem>
static void MaskInterval(
TIntervalTreeIndex Index,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64 MaxInterval,
uint32 BytesToBitsShift,
uint64* Bits
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
TItem& Item = Allocator.Get(Index);
uint64 Offset = uint64(GetRequestOffset(Item.OffsetAndPakIndex));
uint64 LastByte = Offset + uint64(Item.Size) - 1;
uint64 InterMinInterval = FMath::Max(MinInterval, Offset);
uint64 InterMaxInterval = FMath::Min(MaxInterval, LastByte);
if (InterMinInterval <= InterMaxInterval)
{
uint32 FirstBit = uint32((InterMinInterval - MinInterval) >> BytesToBitsShift);
uint32 LastBit = uint32((InterMaxInterval - MinInterval) >> BytesToBitsShift);
uint32 FirstQWord = FirstBit >> 6;
uint32 LastQWord = LastBit >> 6;
uint32 FirstBitQWord = FirstBit & 63;
uint32 LastBitQWord = LastBit & 63;
if (FirstQWord == LastQWord)
{
Bits[FirstQWord] |= ((MAX_uint64 << FirstBitQWord) & (MAX_uint64 >> (63 - LastBitQWord)));
}
else
{
Bits[FirstQWord] |= (MAX_uint64 << FirstBitQWord);
for (uint32 QWordIndex = FirstQWord + 1; QWordIndex < LastQWord; QWordIndex++)
{
Bits[QWordIndex] = MAX_uint64;
}
Bits[LastQWord] |= (MAX_uint64 >> (63 - LastBitQWord));
}
}
}
template<typename TItem>
static void OverlappingNodesInIntervalTreeMask(
TIntervalTreeIndex RootNode,
TIntervalTreeAllocator<TItem>& Allocator,
uint64 MinInterval,
uint64 MaxInterval,
uint64 MinNode,
uint64 MaxNode,
uint32 CurrentShift,
uint32 MaxShift,
uint32 BytesToBitsShift,
uint64* Bits
)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
OverlappingNodesInIntervalTree(
RootNode,
Allocator,
MinInterval,
MaxInterval,
MinNode,
MaxNode,
CurrentShift,
MaxShift,
[&Allocator, MinInterval, MaxInterval, BytesToBitsShift, Bits](TIntervalTreeIndex Index) -> bool
{
MaskInterval(Index, Allocator, MinInterval, MaxInterval, BytesToBitsShift, Bits);
return true;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
}
class IPakRequestor
{
friend class FPakPrecacher;
FJoinedOffsetAndPakIndex OffsetAndPakIndex; // this is used for searching and filled in when you make the request
uint64 UniqueID;
TIntervalTreeIndex InRequestIndex;
public:
IPakRequestor()
: OffsetAndPakIndex(MAX_uint64) // invalid value
, UniqueID(0)
, InRequestIndex(IntervalTreeInvalidIndex)
{
}
virtual ~IPakRequestor()
{
}
virtual void RequestIsComplete()
{
}
};
static FPakPrecacher* PakPrecacherSingleton = nullptr;
class FPakPrecacher
{
enum class EInRequestStatus
{
Complete,
Waiting,
InFlight,
Num
};
enum class EBlockStatus
{
InFlight,
Complete,
Num
};
IPlatformFile* LowerLevel;
FCriticalSection CachedFilesScopeLock;
FJoinedOffsetAndPakIndex LastReadRequest;
uint64 NextUniqueID;
int64 BlockMemory;
int64 BlockMemoryHighWater;
FThreadSafeCounter RequestCounter;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
struct FCacheBlock
{
FJoinedOffsetAndPakIndex OffsetAndPakIndex;
int64 Size;
uint8 *Memory;
uint32 InRequestRefCount;
TIntervalTreeIndex Index;
TIntervalTreeIndex Next;
EBlockStatus Status;
FCacheBlock()
: OffsetAndPakIndex(0)
, Size(0)
, Memory(nullptr)
, InRequestRefCount(0)
, Index(IntervalTreeInvalidIndex)
, Next(IntervalTreeInvalidIndex)
, Status(EBlockStatus::InFlight)
{
}
};
struct FPakInRequest
{
FJoinedOffsetAndPakIndex OffsetAndPakIndex;
int64 Size;
IPakRequestor* Owner;
uint64 UniqueID;
TIntervalTreeIndex Index;
TIntervalTreeIndex Next;
EAsyncIOPriorityAndFlags PriorityAndFlags;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
EInRequestStatus Status;
FPakInRequest()
: OffsetAndPakIndex(0)
, Size(0)
, Owner(nullptr)
, UniqueID(0)
, Index(IntervalTreeInvalidIndex)
, Next(IntervalTreeInvalidIndex)
, PriorityAndFlags(AIOP_MIN)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, Status(EInRequestStatus::Waiting)
{
}
EAsyncIOPriorityAndFlags GetPriority() const
{
return PriorityAndFlags & AIOP_PRIORITY_MASK;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
};
struct FPakData
{
IAsyncReadFileHandle* Handle;
int64 TotalSize;
uint64 MaxNode;
uint32 StartShift;
uint32 MaxShift;
uint32 BytesToBitsShift;
FName Name;
TIntervalTreeIndex InRequests[AIOP_NUM][(int32)EInRequestStatus::Num];
TIntervalTreeIndex CacheBlocks[(int32)EBlockStatus::Num];
FPakSignatureFile Signatures;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FPakData(IAsyncReadFileHandle* InHandle, FName InName, int64 InTotalSize)
: Handle(InHandle)
, TotalSize(InTotalSize)
, StartShift(0)
, MaxShift(0)
, BytesToBitsShift(0)
, Name(InName)
{
check(Handle && TotalSize > 0 && Name != NAME_None);
for (int32 Index = 0; Index < AIOP_NUM; Index++)
{
for (int32 IndexInner = 0; IndexInner < (int32)EInRequestStatus::Num; IndexInner++)
{
InRequests[Index][IndexInner] = IntervalTreeInvalidIndex;
}
}
for (int32 IndexInner = 0; IndexInner < (int32)EBlockStatus::Num; IndexInner++)
{
CacheBlocks[IndexInner] = IntervalTreeInvalidIndex;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3491552) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3421703 on 2017/05/03 by Ben.Marsh Surround invalid character message in quotes, so it's clear when a space is listed. #jira UE-44606 Change 3422644 on 2017/05/04 by Steve.Robb Ranged-for support for TChunkedArray. Change 3422754 on 2017/05/04 by Steve.Robb IAsyncReadFileHandle made non-copyable to prevent accidental wrong stat calculation. Change 3422758 on 2017/05/04 by Steve.Robb Misc readability/standards improvements in stats code. Change 3427955 on 2017/05/08 by Steve.Robb Version fix for IOS optimization pragmas, copied from equivalent Mac code. Change 3428017 on 2017/05/08 by Steve.Robb Unused property types removed. Change 3428641 on 2017/05/08 by Ben.Marsh UAT: Remove failed attempt to separate out BuildCookRun into separate commands, which have since rotted. Change 3430407 on 2017/05/09 by Ben.Marsh UBT: Define UE_4_X_OR_LATER macros for every UE4 version greater than 4.17 (eg. UE_4_17_OR_LATER, etc...). Change 3430682 on 2017/05/09 by Gil.Gribb UE4 - Added a fatal error for asking for very large alignments from MallocBinned2 and also return the true size of the memory block in GetAllocationSize(). Change 3430685 on 2017/05/09 by Gil.Gribb UE4 - Fixed a bug with the windows async IO stuff related to an unsafe pointer cast to LPDWORD from int64*. Change 3430756 on 2017/05/09 by Ben.Marsh UBT: Switch some receipt stuff to use FileReference/DirectoryReference objects rather than raw paths. Change 3431157 on 2017/05/09 by Ben.Marsh UBT: Store absolute paths when receipts are in memory; only insert pseudo-variables for $(EngineDir) and $(ProjectDir) when saved to disk. Change 3432334 on 2017/05/10 by Graeme.Thornton Include project name in the UBT error message which appears when a plugin is missing Change 3432481 on 2017/05/10 by Gil.Gribb UE4 - Fixed code to detect cycles in parallel tick sorting. Change 3432485 on 2017/05/10 by Steve.Robb Simplified templating around bitfield offset calculation. Change 3432608 on 2017/05/10 by Steve.Robb 'bool == byte' static_assert restored after being removed in CL# 3432485. Change 3432767 on 2017/05/10 by Ben.Marsh UBT: Fix exception when a missing plugin is encountered if the target does not have a project. Change 3433031 on 2017/05/10 by Ben.Marsh UAT: Add classes to allow safer manipulation of paths within the staging directory (StagedFileReference, StagedDirectoryReference), and convert staging code over to using those and their regular filesystem counterparts (FileReference/DirectoryReference). Lots of cleanup and refactoring of staging code. Change 3433049 on 2017/05/10 by Ben.Marsh Add more diagnostic information to asserts in TStaticIndirectArrayThreadSafeRead, to try and shed light on what sort of corrupted data is being passed in from the cooker. #jira UE-44336 Change 3433097 on 2017/05/10 by Steve.Robb Value initialization fix for MakeUnique<T[]>(). Change 3433972 on 2017/05/10 by Daniel.Lamb Stop unrealpak from crashing if generating a patch with more pak files then the original game. Change 3434124 on 2017/05/10 by Ben.Marsh UAT: Remove hacky bUseWebSocketNetDriver option. Change 3434824 on 2017/05/11 by Gil.Gribb UE4 - Printed an error instead of asserting when there are missing native classes. Change 3434916 on 2017/05/11 by Ben.Marsh UAT: Separate the list of files to be staged into a separate class. Change 3435427 on 2017/05/11 by Gil.Gribb UE4 - Fixed attempts to load compiled in packages, which produces warnings and is slow. Change 3436240 on 2017/05/11 by Ben.Marsh UAT: Add a command to search for restricted folders under a given base directory. Change 3438068 on 2017/05/12 by James.Fox Checking in Phase 1 of the Dev-Core test map for repro purposes. UE-44996 #rb none Change 3438855 on 2017/05/15 by Robert.Manuszewski When verbose cluster logging is enabled and new object is added to an already existing cluster, the cluster will be dumped to log. Change 3438929 on 2017/05/15 by Robert.Manuszewski Merging CL # 3436939 using Dev-Core_To_Dev-LoadTimes: Fix for potential crashes caused by levels staying in memory through material references. Change 3439021 on 2017/05/15 by Ben.Marsh PR #3566: fix non-ascii characters in help command HTML converted to "?" (Contributed by kayama-shift) Change 3439079 on 2017/05/15 by Ben.Marsh PR #2832: Implement missing MessageBox (Contributed by projectgheist) Change 3439258 on 2017/05/15 by Ben.Marsh Highlight lines containing the strings "Error:" or "Warning:" in the output log, so that diagnostics from child processes are highlighted appropriately. The build system already relies similar logic for scraping diagnostics from logs, so it should be safe and predictable to check for messages in this way. #jira UE-43673 Change 3439358 on 2017/05/15 by Ben.Marsh UBT: Fix Visual Studio solution referencing the incorrect platform for existing C# project ("Any CPU" instead of "AnyCPU"). Was causing prompt to save the solution the first time it is opened. Change 3439665 on 2017/05/15 by Ben.Marsh UAT: Remove DeployPakInternalLowerCaseFilenames(). No platforms require this to be true. Change 3440735 on 2017/05/16 by Robert.Manuszewski UBT compile fix after the last merge Change 3440889 on 2017/05/16 by Ben.Marsh EC: Fix regex for matching path to source files included in error messages from the Linux toolchain. Change 3442776 on 2017/05/17 by Steve.Robb Platform fix for FPaths::IsSamePath. Change 3445411 on 2017/05/17 by Ben.Marsh UBT: Fix typo in makefile diagnostic string. Change 3446070 on 2017/05/18 by Steve.Robb Fix to array sizes in generated UFunction code, which should now handle editor-only functions. Change 3446091 on 2017/05/18 by Steve.Robb Another array size fix for generated code. Change 3446605 on 2017/05/18 by Steve.Robb BuildConfiguration option for static analysis. Change 3448601 on 2017/05/19 by Richard.Fawcett Change FWindowsPlatformProcess::ApplicationSettingsDir() so that it no longer returns a path with a mixture of "\" and "/" characters, and only contains "/" characters. This makes it consistent with other related functions like FWindowsPlatformProcess::UserSettingsDir(). Change 3449026 on 2017/05/19 by Ben.Marsh Fix whitespace in template file. Change 3449697 on 2017/05/19 by James.Fox Checking in Phase 2 of Dev-Core test map for QAGame Also enabled Blueprint and Actor clustering by default in QAGame for more thorough GC testing. Change 3451352 on 2017/05/22 by Steve.Robb UFunction flags are now viewable in the debugger. Change 3451355 on 2017/05/22 by Steve.Robb ARRAY_COUNT fix for zero-sized arrays in Clang. Change 3451379 on 2017/05/22 by Steve.Robb C++14 operator delete overloads with size, for consistency. Change 3451398 on 2017/05/22 by Graeme.Thornton Add AES and RSA encryption keys to the list of config fields that get stripped from ini files when staging When creating a pak file, do a filtered copy of all ini files to a temp directory so that all confidential fields can be stripped. Equivalent behaviour to staging a loose file distribution Change 3451476 on 2017/05/22 by Ben.Marsh Compile shipping builds for WEX and Ocean, and post telemetry for the resulting executable size. Change 3451478 on 2017/05/22 by Graeme.Thornton PR #3197: Improved log message formatting (Contributed by projectgheist) Change 3451868 on 2017/05/22 by Steve.Robb Static log category moved out of header. ENUM_CLASS_FLAGS macro used instead of explicit operators. Change 3452319 on 2017/05/22 by Ben.Marsh UBT: Add a new "package" build product type, which can be used for APK files on Android and Stub files on iOS. Treating these files as executables is causing the measured executable size to be incorrect. Change 3452607 on 2017/05/22 by Ben.Marsh UBT: Filter out folders for other platforms when searching for headers to pass to UHT. Change 3453600 on 2017/05/23 by Graeme.Thornton PR #3226 - Updated some code comments to better describe the usage of the log category definition macros Change 3453616 on 2017/05/23 by Steve.Robb Error reported instead of a crash when there's a space between UCLASS or UINTERFACE and the open parenthesis. Change 3453714 on 2017/05/23 by Ben.Marsh Build: Add some Visual Studio 2017 test compiles to the build system. Change 3453795 on 2017/05/23 by Ben.Marsh UBT: Fix parsing of command line attributes that have a specific value assigned. We should never have an '=' suffix for such arguments. Change 3454606 on 2017/05/23 by Ben.Marsh UAT: Make sure log filenames are unique by creating a 0-byte file in its place. Change 3454709 on 2017/05/23 by Ben.Marsh UBT: Enable the /permissive- option for stricter standards compliance on Visual Studio 2017. Currently have /Zc:strictStrings disabled due to violations in Windows headers; all UE4 instances have been fixed up. Change 3456445 on 2017/05/24 by Graeme.Thornton MemoryProfiler2 - Add mprof filename into title bar after opening Change 3457129 on 2017/05/24 by Ben.Marsh Fix comment for FVector::Normalize(). #jira UE-45369 #rnx Change 3457228 on 2017/05/24 by Ben.Marsh Do not allow forward-declaring Rect structs. They are not public, and it conflicts with third party libraries. #rnx Change 3458357 on 2017/05/24 by Ben.Marsh Fix name resolution issue with /permissive- in VS2017. Change 3458812 on 2017/05/25 by Robert.Manuszewski PR #2407: Fix LoadLibrary error with Microsoft Group Policy CWDIllegalinDllSearch mode 1 or 2 (Contributed by bozaro) Change 3458894 on 2017/05/25 by Robert.Manuszewski PR #2096: Fix argument parsing in DiffAssets Comandlet (Contributed by cgrebeld) Change 3461205 on 2017/05/26 by Robert.Manuszewski Fixed parameter parsing so that arguments are not parsed if not preceeded by a whitespace (for example "-Log" was parsed in "TM-Log") #jira UE-33790 Change 3464714 on 2017/05/30 by Robert.Manuszewski Fixing potential deadlock caused by a race condition when using FMallocVerifyProxy with FMallocBinned Change 3465310 on 2017/05/30 by Ben.Marsh UBT: Enable bAdaptiveUnityDisablesOptimizations by default. Change 3465346 on 2017/05/30 by Ben.Marsh UBT: Require Update 3 to be installed when compiling using VS2015. Change 3465389 on 2017/05/30 by Ben.Marsh UBT: Fix support for RTTI when creating PCHs and shared PCHs. Change 3466084 on 2017/05/30 by Ben.Marsh Fix compiling plain C files, where it would incorrectly use a C++ PCH. Change 3467018 on 2017/05/31 by Robert.Manuszewski Async loading code will now properly handle cases when the requested package could not be created. Change 3467113 on 2017/05/31 by Ben.Marsh UGS: When opening a solution in Visual Studio, always start the process in the solution's directory. Change 3467508 on 2017/05/31 by Ben.Marsh Add a function to fix a long package name so it matches the case of a file on disk. Fixes deterministic cooking issues when on-disk case changes. Change 3467510 on 2017/05/31 by Ben.Marsh Fix deterministic cooking issue caused by LODGroup only being initialized in the CDO if it's serialized, causing inconsistent delta serialization for instances. Change 3467967 on 2017/05/31 by Ben.Marsh Always allow UAT to compile on non-Windows platforms, even if a debugger is present, since MSVC is the only one that will load C# PDBs. Change 3468544 on 2017/05/31 by Ben.Marsh UBT: Add a more helpful message when a module is being compiled with implicit PCHs, but a source file is not configured correctly. Change 3469241 on 2017/06/01 by Ben.Marsh UBT: Fix single-file compile causing a different UHT manifest to be generated, potentially excluding hidden dependencies. Change 3471709 on 2017/06/02 by Daniel.Lamb Rebuild lighting commandlet now rebuilds reflections also instead of trashing them. #test None Change 3471719 on 2017/06/02 by Daniel.Lamb Fixed crash in cooker while trying to cook for multiple platforms #test Launch on shootergame windows + ps4 #jira UE-45356 Change 3472261 on 2017/06/02 by Ben.Marsh CRP: Clear out MDD logs whenever we clear out CRP logs. Change 3473169 on 2017/06/05 by Graeme.Thornton PR #3622: Log category code cleanup (Contributed by projectgheist) Change 3473176 on 2017/06/05 by Graeme.Thornton PR #3622: Log category code cleanup (Contributed by projectgheist) (Part II) - Missed some files from my previous checkin Change 3473597 on 2017/06/05 by Ben.Marsh UnrealVS: Fix massive slowdown on startup caused by searching the directory tree under the solution for *.uproject files (including intermediate folders, etc...). Now reads *.uprojectdirs files and only checks the listed directories within. Measured it taking > 30s to run before, now takes < 0.1s. Change 3473722 on 2017/06/05 by Steve.Robb GitHub #3444: UE-42521: Added missing macro's for TMap and TSet PREPROCESSOR_COMMA_SEPARATED added as a better solution for the hacky comma separator solution in the PR. Change 3475073 on 2017/06/06 by Steve.Robb Fix for TPromise's move assignment operator return value. Change 3475331 on 2017/06/06 by Ben.Marsh UAT: Fix invalid paths being generated when stripping encryption settings from config files. * In cases where INI files were in a subfolder of the Config folder (eg. Config\Localization), it was not stripping the separating slash, resulting in files being written to the root directory of the current drive. * Paths under the config folder are not guaranteed to be unique. Change 3475453 on 2017/06/06 by Ben.Marsh UBT: Add an error if a plugin lists a non-plugin module as belonging to it. #jira UE-45178 Change 3475668 on 2017/06/06 by Ben.Marsh Add a message showing when we begin creating the asset registry, since it can take a long time. #jira UE-41675 Change 3475747 on 2017/06/06 by Steve.Robb Replicated from CL# 3332960: Force a gather on hot reload, so we don't use stale state from the makefile. #jira UE-42205 Change 3475897 on 2017/06/06 by Ben.Marsh PR #3655: Improved behavior for Automation.IsBuildMachine (Contributed by projectgheist) Change 3477432 on 2017/06/07 by Robert.Manuszewski Removed AsyncIOBandwidthLimit as it was no longer being used by anything. Change 3478582 on 2017/06/07 by Ben.Marsh UBT: Allow setting the UE_ENGINE_DIRECTORY macro for any monolithic builds, to fix being able to debug cooked foreign projects in the binary release. Change 3480035 on 2017/06/08 by Gil.Gribb UE4 - Fixed async loading from pak files < 64k. Change 3484348 on 2017/06/12 by Robert.Manuszewski Removed private_subobject macro which was a temporary measure to make all subobjects private without breaking game code. Change 3484863 on 2017/06/12 by Steve.Robb Fix for TSparseArray::operator= corrupting non-POD objects. InCopy.ArrayMax cached in a local instead of being read each time. Const-correctness fix for element copy construction. SrcData and DestData names flipped as they were the wrong way around. Source: https://udn.unrealengine.com/questions/374840/possible-bug-in-tsparsearray-assignment-operator.html Change 3485003 on 2017/06/12 by Ben.Marsh UGS: Add support for multiple tabs. Each tab can monitor changes in a separate workspace, and scheduled syncs will run for all open tabs. Change 3485063 on 2017/06/12 by Ben.Marsh UGS: Fix a null reference exception when right clicking on the notification icon during startup. Change 3485104 on 2017/06/12 by Ben.Marsh PR #2084: [UAT] Command-line parameter to override branch name (Contributed by nbjk667) Change 3485112 on 2017/06/12 by Steve.Robb TSetElement generic constructor protected from becoming a copy constructor. Redundant #include removed from AreTypesEqual.h. Source: https://udn.unrealengine.com/questions/374840/possible-bug-in-tsparsearray-assignment-operator.html Change 3485452 on 2017/06/12 by Ben.Marsh UnrealVS: Fix command line not being updated for C# projects. IVsBuildPropertyStorage.SetPropertyValue does not seem to update properties that are cached in memory. #jira UE-45716 Change 3486182 on 2017/06/12 by Ben.Marsh UGS: Include option to selet tab names in the options menu. Change 3486189 on 2017/06/12 by Ben.Marsh UGS: Fix browse button from context menu always opening a new tab. Change 3486636 on 2017/06/13 by Steve.Robb FStatMessagesArray iteration changed to use ranged-for instead of indexing. Change 3486688 on 2017/06/13 by Steve.Robb Fix for CDO pointer replacement in non-UObject properties during hot reload. #jira UE-38146 Change 3486704 on 2017/06/13 by Ben.Marsh UGS: Fix exception when closing the last open tab. Change 3486707 on 2017/06/13 by Ben.Marsh UGS: Fix exception on load if UGS was closed with no projects open. Change 3486715 on 2017/06/13 by Ben.Marsh UGS: Change tabs to show the project file by default. Change 3486718 on 2017/06/13 by Ben.Marsh UGS: Only allow one workspace to sync at a time. Change 3486880 on 2017/06/13 by Ben.Marsh UGS: Show the sync progress of each tab via the underline on the tab button. Change 3486912 on 2017/06/13 by Ben.Marsh UGS: Include the open project and recent project list as separate top-level menu items. Change 3486914 on 2017/06/13 by Ben.Marsh UGS: Update version to 1.101. Change 3487092 on 2017/06/13 by Ben.Marsh UGS: Fix crash on startup if log window is minimized. Change 3487099 on 2017/06/13 by Ben.Marsh UGS: Update version to 1.102 Change 3487198 on 2017/06/13 by Ben.Marsh Remove debug code. Change 3487285 on 2017/06/13 by Ben.Marsh Restore Remap() function that was accidentally removed in merge. Change 3487769 on 2017/06/13 by Ben.Marsh Disable the promoted flag when using the SyncProject command on Mac; doing so prevents UE4Game being compiled when packaging blueprint projects. #jira UE-45995 Change 3487915 on 2017/06/13 by Ben.Marsh UAT: Fix exception due to collection being modified while packaging for Linux. #jira UE-46013 Change 3487972 on 2017/06/13 by Ben.Marsh UAT: Always allow staged files to overwrite previously staged files. New iOS code relies on old behavior to overwrite engine icons and metadata with game copies. #jira UE-46014 Change 3487991 on 2017/06/13 by Ben.Marsh UAT: Ensure that the directory exists before trying to create a placeholder log filename. #jira UE-46015 Change 3489062 on 2017/06/14 by Robert.Manuszewski Removed FPackageFileSummary's AdditionalPackagesToCook as it was not used by anything. This should reduce the package header size considerably for levels with many streaming sublevels. #jira UE-45563 Change 3489063 on 2017/06/14 by Robert.Manuszewski Increasing the maximum package summary size to handle levels with multiple streaming sublevels. #jira UE-45563 Change 3491552 on 2017/06/15 by Ben.Marsh Handle failures to load *MeshReduction modules. [CL 3492074 by Ben Marsh in Main branch]
2017-06-15 12:43:54 -04:00
uint64 StartingLastByte = FMath::Max((uint64)TotalSize, uint64(PAK_CACHE_GRANULARITY + 1));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
StartingLastByte--;
{
uint64 LastByte = StartingLastByte;
while (!HighBit(LastByte))
{
LastByte <<= 1;
StartShift++;
}
}
{
uint64 LastByte = StartingLastByte;
uint64 Block = (uint64)PAK_CACHE_GRANULARITY;
while (Block)
{
Block >>= 1;
LastByte >>= 1;
BytesToBitsShift++;
}
BytesToBitsShift--;
check(1 << BytesToBitsShift == PAK_CACHE_GRANULARITY);
MaxShift = StartShift;
while (LastByte)
{
LastByte >>= 1;
MaxShift++;
}
MaxNode = MAX_uint64 >> StartShift;
check(MaxNode >= StartingLastByte && (MaxNode >> 1) < StartingLastByte);
// UE_LOG(LogTemp, Warning, TEXT("Test %d %llX %llX "), MaxShift, (uint64(PAK_CACHE_GRANULARITY) << (MaxShift + 1)), (uint64(PAK_CACHE_GRANULARITY) << MaxShift));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
check(MaxShift && (uint64(PAK_CACHE_GRANULARITY) << (MaxShift + 1)) == 0 && (uint64(PAK_CACHE_GRANULARITY) << MaxShift) != 0);
}
}
};
TMap<FName, uint16> CachedPaks;
TArray<FPakData> CachedPakData;
TIntervalTreeAllocator<FPakInRequest> InRequestAllocator;
TIntervalTreeAllocator<FCacheBlock> CacheBlockAllocator;
TMap<uint64, TIntervalTreeIndex> OutstandingRequests;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
TArray<FJoinedOffsetAndPakIndex> OffsetAndPakIndexOfSavedBlocked;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
struct FRequestToLower
{
IAsyncReadRequest* RequestHandle;
TIntervalTreeIndex BlockIndex;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
int64 RequestSize;
uint8* Memory;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FRequestToLower()
: RequestHandle(nullptr)
, BlockIndex(IntervalTreeInvalidIndex)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
, RequestSize(0)
, Memory(nullptr)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
}
};
FRequestToLower RequestsToLower[PAK_CACHE_MAX_REQUESTS];
TArray<IAsyncReadRequest*> RequestsToDelete;
int32 NotifyRecursion;
uint32 Loads;
uint32 Frees;
uint64 LoadSize;
FRSA::TKeyPtr SigningKey;
EAsyncIOPriorityAndFlags AsyncMinPriority;
FCriticalSection SetAsyncMinimumPriorityScopeLock;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
public:
static void Init(IPlatformFile* InLowerLevel, FRSA::TKeyPtr InSigningKey)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (!PakPrecacherSingleton)
{
verify(!FPlatformAtomics::InterlockedCompareExchangePointer((void**)&PakPrecacherSingleton, new FPakPrecacher(InLowerLevel, InSigningKey), nullptr));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
check(PakPrecacherSingleton);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
static void Shutdown()
{
if (PakPrecacherSingleton)
{
FPakPrecacher* LocalPakPrecacherSingleton = PakPrecacherSingleton;
if (LocalPakPrecacherSingleton && LocalPakPrecacherSingleton == FPlatformAtomics::InterlockedCompareExchangePointer((void**)&PakPrecacherSingleton, nullptr, LocalPakPrecacherSingleton))
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
LocalPakPrecacherSingleton->TrimCache(true);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
double StartTime = FPlatformTime::Seconds();
while (!LocalPakPrecacherSingleton->IsProbablyIdle())
{
FPlatformProcess::SleepNoStats(0.001f);
if (FPlatformTime::Seconds() - StartTime > 10.0)
{
UE_LOG(LogPakFile, Error, TEXT("FPakPrecacher was not idle after 10s, exiting anyway and leaking."));
return;
}
}
delete PakPrecacherSingleton;
PakPrecacherSingleton = nullptr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
check(!PakPrecacherSingleton);
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static FPakPrecacher& Get()
{
check(PakPrecacherSingleton);
return *PakPrecacherSingleton;
}
FPakPrecacher(IPlatformFile* InLowerLevel, FRSA::TKeyPtr InSigningKey)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
: LowerLevel(InLowerLevel)
, LastReadRequest(0)
, NextUniqueID(1)
, BlockMemory(0)
, BlockMemoryHighWater(0)
, NotifyRecursion(0)
, Loads(0)
, Frees(0)
, LoadSize(0)
, SigningKey(InSigningKey)
, AsyncMinPriority(AIOP_MIN)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(LowerLevel && FPlatformProcess::SupportsMultithreading());
GPakCache_MaxRequestsToLowerLevel = FMath::Max(FMath::Min(FPlatformMisc::NumberOfIOWorkerThreadsToSpawn(), GPakCache_MaxRequestsToLowerLevel), 1);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
check(GPakCache_MaxRequestsToLowerLevel <= PAK_CACHE_MAX_REQUESTS);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
void StartSignatureCheck(bool bWasCanceled, IAsyncReadRequest* Request, int32 IndexToFill);
void DoSignatureCheck(bool bWasCanceled, IAsyncReadRequest* Request, int32 IndexToFill);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
int32 GetRequestCount() const
{
return RequestCounter.GetValue();
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
IPlatformFile* GetLowerLevelHandle()
{
check(LowerLevel);
return LowerLevel;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
uint16* RegisterPakFile(FName File, int64 PakFileSize)
{
uint16* PakIndexPtr = CachedPaks.Find(File);
if (!PakIndexPtr)
{
FString PakFilename = File.ToString();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
check(CachedPakData.Num() < MAX_uint16);
IAsyncReadFileHandle* Handle = LowerLevel->OpenAsyncRead(*PakFilename);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (!Handle)
{
return nullptr;
}
CachedPakData.Add(FPakData(Handle, File, PakFileSize));
PakIndexPtr = &CachedPaks.Add(File, CachedPakData.Num() - 1);
UE_LOG(LogPakFile, Log, TEXT("New pak file %s added to pak precacher."), *PakFilename);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
FPakData& Pak = CachedPakData[*PakIndexPtr];
if (SigningKey.IsValid())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
// Load signature data
FString SignaturesFilename = FPaths::ChangeExtension(*PakFilename, TEXT("sig"));
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
IFileHandle* SignaturesFile = LowerLevel->OpenRead(*SignaturesFilename);
ensure(SignaturesFile);
FArchiveFileReaderGeneric* Reader = new FArchiveFileReaderGeneric(SignaturesFile, *SignaturesFilename, SignaturesFile->Size());
Pak.Signatures.Serialize(*Reader);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
delete Reader;
Pak.Signatures.DecryptSignatureAndValidate(SigningKey, PakFilename);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
// Check that we have the correct match between signature and pre-cache granularity
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
int64 NumPakChunks = Align(PakFileSize, FPakInfo::MaxChunkDataSize) / FPakInfo::MaxChunkDataSize;
ensure(NumPakChunks == Pak.Signatures.ChunkHashes.Num());
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
}
return PakIndexPtr;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
#if !UE_BUILD_SHIPPING
void SimulatePakFileCorruption()
{
FScopeLock Lock(&CachedFilesScopeLock);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
for (FPakData& PakData : CachedPakData)
{
for (TPakChunkHash& Hash : PakData.Signatures.ChunkHashes)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
{
*((uint8*)&Hash) |= 0x1;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
}
}
}
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
private: // below here we assume CachedFilesScopeLock until we get to the next section
uint16 GetRequestPakIndex(FJoinedOffsetAndPakIndex OffsetAndPakIndex)
{
uint16 Result = GetRequestPakIndexLow(OffsetAndPakIndex);
check(Result < CachedPakData.Num());
return Result;
}
FJoinedOffsetAndPakIndex FirstUnfilledBlockForRequest(TIntervalTreeIndex NewIndex, FJoinedOffsetAndPakIndex ReadHead = 0)
{
// CachedFilesScopeLock is locked
FPakInRequest& Request = InRequestAllocator.Get(NewIndex);
uint16 PakIndex = GetRequestPakIndex(Request.OffsetAndPakIndex);
int64 Offset = GetRequestOffset(Request.OffsetAndPakIndex);
int64 Size = Request.Size;
FPakData& Pak = CachedPakData[PakIndex];
check(Offset + Request.Size <= Pak.TotalSize && Size > 0 && Request.GetPriority() >= AIOP_MIN && Request.GetPriority() <= AIOP_MAX && Request.Status != EInRequestStatus::Complete && Request.Owner);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (PakIndex != GetRequestPakIndex(ReadHead))
{
// this is in a different pak, so we ignore the read head position
ReadHead = 0;
}
if (ReadHead)
{
// trim to the right of the read head
int64 Trim = FMath::Max(Offset, GetRequestOffset(ReadHead)) - Offset;
Offset += Trim;
Size -= Trim;
}
static TArray<uint64> InFlightOrDone;
int64 FirstByte = AlignDown(Offset, PAK_CACHE_GRANULARITY);
int64 LastByte = Align(Offset + Size, PAK_CACHE_GRANULARITY) - 1;
uint32 NumBits = (PAK_CACHE_GRANULARITY + LastByte - FirstByte) / PAK_CACHE_GRANULARITY;
uint32 NumQWords = (NumBits + 63) >> 6;
InFlightOrDone.Reset();
InFlightOrDone.AddZeroed(NumQWords);
if (NumBits != NumQWords * 64)
{
uint32 Extras = NumQWords * 64 - NumBits;
InFlightOrDone[NumQWords - 1] = (MAX_uint64 << (64 - Extras));
}
if (Pak.CacheBlocks[(int32)EBlockStatus::Complete] != IntervalTreeInvalidIndex)
{
OverlappingNodesInIntervalTreeMask<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
Pak.BytesToBitsShift,
&InFlightOrDone[0]
);
}
if (Request.Status == EInRequestStatus::Waiting && Pak.CacheBlocks[(int32)EBlockStatus::InFlight] != IntervalTreeInvalidIndex)
{
OverlappingNodesInIntervalTreeMask<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
Pak.BytesToBitsShift,
&InFlightOrDone[0]
);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
for (uint32 Index = 0; Index < NumQWords; Index++)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (InFlightOrDone[Index] != MAX_uint64)
{
uint64 Mask = InFlightOrDone[Index];
int64 FinalOffset = FirstByte + PAK_CACHE_GRANULARITY * 64 * Index;
while (Mask & 1)
{
FinalOffset += PAK_CACHE_GRANULARITY;
Mask >>= 1;
}
return MakeJoinedRequest(PakIndex, FinalOffset);
}
}
return MAX_uint64;
}
bool AddRequest(TIntervalTreeIndex NewIndex)
{
// CachedFilesScopeLock is locked
FPakInRequest& Request = InRequestAllocator.Get(NewIndex);
uint16 PakIndex = GetRequestPakIndex(Request.OffsetAndPakIndex);
int64 Offset = GetRequestOffset(Request.OffsetAndPakIndex);
FPakData& Pak = CachedPakData[PakIndex];
check(Offset + Request.Size <= Pak.TotalSize && Request.Size > 0 && Request.GetPriority() >= AIOP_MIN && Request.GetPriority() <= AIOP_MAX && Request.Status == EInRequestStatus::Waiting && Request.Owner);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static TArray<uint64> InFlightOrDone;
int64 FirstByte = AlignDown(Offset, PAK_CACHE_GRANULARITY);
int64 LastByte = Align(Offset + Request.Size, PAK_CACHE_GRANULARITY) - 1;
uint32 NumBits = (PAK_CACHE_GRANULARITY + LastByte - FirstByte) / PAK_CACHE_GRANULARITY;
uint32 NumQWords = (NumBits + 63) >> 6;
InFlightOrDone.Reset();
InFlightOrDone.AddZeroed(NumQWords);
if (NumBits != NumQWords * 64)
{
uint32 Extras = NumQWords * 64 - NumBits;
InFlightOrDone[NumQWords - 1] = (MAX_uint64 << (64 - Extras));
}
if (Pak.CacheBlocks[(int32)EBlockStatus::Complete] != IntervalTreeInvalidIndex)
{
Request.Status = EInRequestStatus::Complete;
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, &Pak, FirstByte, LastByte](TIntervalTreeIndex Index) -> bool
{
CacheBlockAllocator.Get(Index).InRequestRefCount++;
MaskInterval(Index, CacheBlockAllocator, FirstByte, LastByte, Pak.BytesToBitsShift, &InFlightOrDone[0]);
return true;
}
);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
for (uint32 Index = 0; Index < NumQWords; Index++)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (InFlightOrDone[Index] != MAX_uint64)
{
Request.Status = EInRequestStatus::Waiting;
break;
}
}
}
if (Request.Status == EInRequestStatus::Waiting)
{
if (Pak.CacheBlocks[(int32)EBlockStatus::InFlight] != IntervalTreeInvalidIndex)
{
Request.Status = EInRequestStatus::InFlight;
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, &Pak, FirstByte, LastByte](TIntervalTreeIndex Index) -> bool
{
CacheBlockAllocator.Get(Index).InRequestRefCount++;
MaskInterval(Index, CacheBlockAllocator, FirstByte, LastByte, Pak.BytesToBitsShift, &InFlightOrDone[0]);
return true;
}
);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
for (uint32 Index = 0; Index < NumQWords; Index++)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (InFlightOrDone[Index] != MAX_uint64)
{
Request.Status = EInRequestStatus::Waiting;
break;
}
}
}
}
else
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if PAK_EXTRA_CHECKS
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, &Pak, FirstByte, LastByte](TIntervalTreeIndex Index) -> bool
{
check(0); // if we are complete, then how come there are overlapping in flight blocks?
return true;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
#endif
}
{
AddToIntervalTree<FPakInRequest>(
&Pak.InRequests[Request.GetPriority()][(int32)Request.Status],
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
InRequestAllocator,
NewIndex,
Pak.StartShift,
Pak.MaxShift
);
}
check(&Request == &InRequestAllocator.Get(NewIndex));
if (Request.Status == EInRequestStatus::Complete)
{
NotifyComplete(NewIndex);
return true;
}
else if (Request.Status == EInRequestStatus::Waiting)
{
StartNextRequest();
}
return false;
}
void ClearBlock(FCacheBlock &Block)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3420477) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3386262 on 2017/04/10 by Ben.Marsh Add app-local deployment of DirectX components that are no longer included with newer versions of Windows by default (XAudio 2.7, XInput 1.3). Also add a one-click button to the packaging settings to include the default app-local dependencies, rather than having to specify the path. Change 3386999 on 2017/04/10 by Ben.Marsh Plugins: Add support for explicit dependencies from one plugin onto another. Required plugins can be configured in an identical manner to project files, by adding a "Plugins" key to the .uplugin file. Dependencies are automatically built and loaded, and the plugin browser will warn if you try to disable a plugin that something else has a dependency on. Change 3387073 on 2017/04/10 by Ben.Marsh Move FLightPropagationRuntimeSettings into the Renderer module, to remove engine dependency on a plugin. Change 3387988 on 2017/04/11 by Steve.Robb Comments added to clarify the role of DestructItem and DestructItems. Change 3388085 on 2017/04/11 by Ben.Marsh UBT: Fix bEnabled flag on plugin references being ignored. Now collect up all the plugin references in order of priority before creating plugin instances for them. Fixes CIS fail for UT. Change 3390048 on 2017/04/12 by Richard.Hinckley #jira UE-43876 Fixed description of Streaming settings (within Project Settings). Change 3390697 on 2017/04/12 by Steve.Robb CLASS_PointersDefaultToAutoWeak and CLASS_PointersDefaultToWeak removed. Change 3390711 on 2017/04/12 by Steve.Robb AGRESSIVE_ARRAY_FORCEINLINE removed. Change 3392167 on 2017/04/13 by Robert.Manuszewski UObject can be added to GC cluster only if all of its Outers can also be added to it. Fixing asserts caused by components that are added to GC clusters even if their owner actors that can't be in GC clusters. #jira UE-42948 Change 3392309 on 2017/04/13 by Robert.Manuszewski When adding objects to clusters after these clusters have been created it's possible to come across objects that are already in the cluster we're adding the object to so instead of crashing, allow it. Change 3392620 on 2017/04/13 by Ben.Marsh UGS: Only check for updates every 5 minutes. Change 3392623 on 2017/04/13 by Ben.Marsh UGS: Only poll for new changes every 60 seconds. Change 3392744 on 2017/04/13 by Ben.Marsh UGS: Query changelist descriptions individually to determine whether changes affect code or content, to hopefully reduce Perforce server load. Change 3392874 on 2017/04/13 by Ben.Marsh UGS: Allow specifying regexes in the project config file which filters which changes to be displayed. Useful for changes submitted by build machines, updates to collections, etc... Change 3392878 on 2017/04/13 by Ben.Marsh Update UGS to version 1.96 Change 3395635 on 2017/04/17 by Ben.Marsh UAT: Prefix log output from executing UAT commands through BuildGraph with the name of that command. Change 3395655 on 2017/04/17 by Ben.Marsh UAT: Add a command for syncing a DDC over the network (SyncDDC). Allows specifying a maximum size to copy, number of days worth of modified files to copy, and time limit not to be exceeded. Change 3396989 on 2017/04/17 by Wes.Hunt CrashReporter configurable tweaks. * Added QueueWaitingTimeAlertThreshold (used to be hardcoded to 1 min). - When the queue waiting time gets beyond this many seconds, trigger a slack alert message. Default is 10 min. - Zero means never alert. * Added DiskSpaceAvailableAlertInterval (used to be hardcoded to 1 day). - Interval by which to report disk space availability. - Default is never (Zero) * Updated config file to match production config. #codereview:jin.zhang Change 3397656 on 2017/04/18 by Ben.Marsh UBT: Allow modules to opt-out of getting the default include paths from being added, by setting bAddDefaultIncludePaths = false from their build.cs file. Change 3397677 on 2017/04/18 by Robert.Manuszewski PR #3167 : Adding more descriptive error text to DetatchLinker error check (by rooneym) Change 3397722 on 2017/04/18 by Robert.Manuszewski PR #2252: Increase linker reporting for failed imports (Contributed by FineRedMist) Change 3397739 on 2017/04/18 by Richard.Hinckley #jira UE-44100 Fixed SanitizePackageName() to remove double-slash, triple-slash, etc. from package names. Also updated CreatePackage() to call SanitizePackageName() before creating. Change 3398023 on 2017/04/18 by Ben.Marsh PR #3105: Cook/package with editor and debugger attached (Contributed by projectgheist) Change 3398095 on 2017/04/18 by Ben.Marsh PR #3051: Generate map file from UAT (Contributed by projectgheist) Change 3398212 on 2017/04/18 by Ben.Marsh PR #2915: UE-38232: Removed duplicate stats (Contributed by projectgheist) Change 3399304 on 2017/04/19 by Ben.Marsh UGS: Prevent editor target files being removed when running custom tools. Change 3399306 on 2017/04/19 by Robert.Manuszewski Moved InitPropertiesFromCustomList to UbLueprintGeneratedClass and made it thread safe Change 3399729 on 2017/04/19 by Steve.Robb Simple optimization to TBitArray::RemoveAt() when all removed bits are at the end of the array. RemoveAtSwap() now simply decrements the count instead of calling RemoveAt(). Checks for a positive count added to RemoveAt() and RemoveAtSwap(). Change 3399750 on 2017/04/19 by Jin.Zhang Order branch alphabetically #RB Change 3400186 on 2017/04/19 by Steve.Robb Per-header generated code. Change 3401458 on 2017/04/20 by Steve.Robb Static log categories moved out of headers to prevent duplicates when the header is included multiple times. #jira UE-37507 Change 3401657 on 2017/04/20 by Gil.Gribb UE4 - Simplified and reworked lock free lists and the task graph bringing all platforms under the same scheme. Change 3401735 on 2017/04/20 by Gil.Gribb UE4 - Updated apple platform atomics with a new clang version which is intended to be shared among all clang platforms. Change 3403362 on 2017/04/21 by Steve.Robb Algo::Sort() fixed to support C arrays. Size+count versions of Also::IsSorted() deprecated. Algo::IsSortedBy() added. Algo::FindBy() added to allow an element to be found by projection. Simplifications and generalizations. Change 3404017 on 2017/04/21 by Ben.Marsh Fix issue where referenced plugin descriptors were missing from console builds, and prevent monolithic builds from offering to disable missing plugins. Change 3405299 on 2017/04/24 by Steve.Robb Clarified the class of the incompatible function in the error message about incompatible BP event specifiers. #jira UE-35106 Change 3405302 on 2017/04/24 by Ben.Marsh UBT: Allow excluding documentation from generated project files, by setting <ProjectFileGenerator><bIncludeDocumentation>false</bIncludeDocumentation></ProjectFileGenerator> in the XML configuration file. Change 3405629 on 2017/04/24 by Ben.Marsh Rename CPPEnvironment to CppCompileEnvironment, to reflect the class name. Change 3406431 on 2017/04/24 by Ben.Marsh UAT: Fix incorrect handling of P4SubmitOptions when multiple values are present. Change 3406670 on 2017/04/24 by Ben.Marsh UBT: Enable warnings for classes with virtual functions and no virtual destructor (C4265 on Windows, -fdelete-non-virtual-dtor on Clang). Change 3407080 on 2017/04/25 by Gil.Gribb UE4 - Critical fix: Propoerly disambiguate imports with the same name and the same outer name. This fixes an assert: LocalExportIndex.IsNull. Change 3407486 on 2017/04/25 by Gil.Gribb UE4 - Made changes so that servers, programs and non-engine executables do not create background or high priority threads. Change 3407495 on 2017/04/25 by Gil.Gribb UE4 - Tweaked out XBox and Windows low level file IO. Change 3407497 on 2017/04/25 by Gil.Gribb UE4 - Fixed bug in the pak precacher that would result in blocks being discarded too soon, which, in turn, resulted in redudnant reads. Change 3407705 on 2017/04/25 by Ben.Marsh Removing most of the junk in DotNETUtilities. Change 3409701 on 2017/04/26 by Ben.Marsh Disable another static analyzer warning for third party libraries. Change 3410074 on 2017/04/26 by Daniel.Lamb Network platform file runs heart beats and responds to modified file changes. Cook on the fly server in the editor (COTS) now detects changes to content and notifies client. Fixed issue with network platform file not using correct sandbox. #test cook on the side shootergame Change 3411131 on 2017/04/27 by Steve.Robb TIsTriviallyDestructible now supports forward-declared enums. Change 3411186 on 2017/04/27 by Steve.Robb Fix for #includes in generated code for Within classes which are in a different module from the generated class. Change 3411917 on 2017/04/27 by Steve.Robb Fixes to pushing/popping the CPP macro. Change 3411966 on 2017/04/27 by Steve.Robb Include spam reduced in generated code. Change 3412155 on 2017/04/27 by Ben.Marsh Fix for PVS Studio warning: VFOVInRadians used instead of HFOVInRadians. Change 3412223 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Calling SetHelperA.Num() twice. Change 3412273 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Duplicated variable name. Change 3412511 on 2017/04/27 by Ben.Marsh PR #3462: Fixed PVS-Studio issues (Part 1) (Contributed by PaulEremeeff) Change 3412582 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Incorrect variable name in copy/pasted code Change 3413136 on 2017/04/28 by Robert.Manuszewski Helper functions for dissolving specific GC clusters Change 3413310 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Incorrect variable name in copy/pasted code. Change 3413341 on 2017/04/28 by Gil.Gribb UE4 - Add prestream capability to allow us to preload always loaded sublevels. Only turned on for Shootergame. Change 3413351 on 2017/04/28 by Ben.Marsh Include code analysis macros directly from Platform.h, so that macros are available to everything. Change 3413352 on 2017/04/28 by Ben.Marsh Fixing a few more PVS studio warnings. Change 3413437 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Comparison is always true. Change 3413759 on 2017/04/28 by Ben.Marsh Suppressing warnings for PVS-Studio. Change 3413784 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning. Change 3413898 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning: Same conditional is checked twice. Change 3413915 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning: LHS of expression is identical to RHS. Change 3413989 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: If CurrentGraph->SubGraphs.Num() == 1, it will always enter the first conditional block. Change 3414053 on 2017/04/28 by Ben.Marsh More PVS-Studio fixes. Change 3414062 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Pointer to object goes out of scope without being freed. Change 3414070 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Fix incorrect condition. Change 3414071 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Array index is always zero. Change 3414116 on 2017/04/28 by Ben.Marsh BuildGraph: Allow marking compile tasks as unsuitable for use with the parallel executor, via an AllowParallelExecutor="false" attribute. Change 3414160 on 2017/04/28 by Ben.Marsh Add support for running PVS-Studio through UnrealBuildTool. To use, pass -StaticAnalyzer=PVSStudio to the build command line (similarly, the Visual C++ analyzer can now be invoked using -StaticAnalyzer=VisualCpp). A log file will be written to the Engine/Saved/PVS-Studio or <Project>/Saved/PVS-Studio directory containing diagnostics, which can be opened using the "unparsed output" filter in the PVS-Studio standalone application. High priority warnings are printed to stdout. Change 3414237 on 2017/04/28 by Ben.Marsh EC: Allow disabling and enabling the log preprocessor via special markers in the log. To disable: <-- Suspend Log Parsing --> To enable: <-- Resume Log Parsing --> Change 3414343 on 2017/04/28 by Ben.Marsh UBT: Exclude ThirdParty folders from PVS output. Change 3414392 on 2017/04/28 by Ben.Marsh Fix regular strings being casted to BSTRs; BSTRs have a hidden length prefix in the two bytes before the first character, so passing a regular TCHAR* is reading random memory. Change 3414459 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Object goes out of scope without being freed. Change 3414495 on 2017/04/28 by Ben.Marsh Suppress some more PVS-Studio warnings. Change 3414514 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Testing WorldType being equal to EditorPreview and not equal to Inactive is redundant; changing to match description in comment instead. Change 3414526 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Variable assigned to itself has no effect. Change 3415183 on 2017/04/29 by Ben.Marsh Fix conflict in macro definitions for ENABLE_HTTP_FOR_NFS - rename the macro defined by NetworkFile to ENABLE_HTTP_FOR_NF. Hopefully fix CIS. Change 3415765 on 2017/05/01 by Ben.Marsh Suppressing PVS-Studio warning to get things building cleanly. Not sure if FContentHelper is being leaked or not. Change 3415853 on 2017/05/01 by Ben.Marsh EC: Fix jobs never completing if a "Sync & Build" step fails. Dependent jobs should evaluate their run conditions as soon as the parent step finishes, rather than waiting for child job steps to be created. Change 3416138 on 2017/05/01 by Ben.Marsh Fix Fortnite cook failures. Not sure what the exact problem is here, but my hunch is that discarded "const" causes blueprint compile failures due to not being able to connect output pins between nodes for overloaded functions, or something like that. Change 3416309 on 2017/05/01 by Ben.Marsh Build: Fix node names for static analysis. Change 3416360 on 2017/05/01 by Ben.Marsh UBT: Remove unused arguments to PrepForUATPackageOrDeploy for Windows. Change 3416398 on 2017/05/01 by Daniel.Lamb Cook on the fly NetworkFileServerConnection Remove FileModifiedCallback delegate when the connection is closed. #test Cook on the side shootergame. Change 3416826 on 2017/05/01 by Daniel.Lamb Added callback to game when files are requested reload from networkfileserver. Game will need to unload / reload effected objects. Working on simple reload capability in shootergame. #test Cook on the side shootergame with reloading Change 3417983 on 2017/05/02 by Ben.Marsh EC: Remove warning for lines not matching p4 tag syntax when running preflights; multi-line descriptions in shelved changelists break this pattern. Change 3418747 on 2017/05/02 by Steve.Robb Fix for const pointer properties. Fix for UHT debugging manifest. Test added for pointer properties. Change 3420477 on 2017/05/03 by Gil.Gribb UE4 - Removed check from windows async IO layer. [CL 3421020 by Ben Marsh in Main branch]
2017-05-03 14:18:32 -04:00
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) ClearBlock"), Block.OffsetAndPakIndex, Block.OffsetAndPakIndex + Block.Size);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (Block.Memory)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(Block.Size);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
BlockMemory -= Block.Size;
DEC_MEMORY_STAT_BY(STAT_PakCacheMem, Block.Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(BlockMemory >= 0);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FMemory::Free(Block.Memory);
Block.Memory = nullptr;
}
Block.Next = IntervalTreeInvalidIndex;
CacheBlockAllocator.Free(Block.Index);
}
void ClearRequest(FPakInRequest& DoneRequest)
{
uint64 Id = DoneRequest.UniqueID;
TIntervalTreeIndex Index = DoneRequest.Index;
DoneRequest.OffsetAndPakIndex = 0;
DoneRequest.Size = 0;
DoneRequest.Owner = nullptr;
DoneRequest.UniqueID = 0;
DoneRequest.Index = IntervalTreeInvalidIndex;
DoneRequest.Next = IntervalTreeInvalidIndex;
DoneRequest.PriorityAndFlags = AIOP_MIN;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
DoneRequest.Status = EInRequestStatus::Num;
verify(OutstandingRequests.Remove(Id) == 1);
RequestCounter.Decrement();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
InRequestAllocator.Free(Index);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
void TrimCache(bool bDiscardAll = false)
{
// CachedFilesScopeLock is locked
int32 NumToKeep = bDiscardAll ? 0 : GPakCache_NumUnreferencedBlocksToCache;
int32 NumToRemove = FMath::Max<int32>(0, OffsetAndPakIndexOfSavedBlocked.Num() - NumToKeep);
if (NumToRemove)
{
for (int32 Index = 0; Index < NumToRemove; Index++)
{
FJoinedOffsetAndPakIndex OffsetAndPakIndex = OffsetAndPakIndexOfSavedBlocked[Index];
uint16 PakIndex = GetRequestPakIndex(OffsetAndPakIndex);
int64 Offset = GetRequestOffset(OffsetAndPakIndex);
FPakData& Pak = CachedPakData[PakIndex];
MaybeRemoveOverlappingNodesInIntervalTree<FCacheBlock>(
&Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
Offset,
Offset,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this](TIntervalTreeIndex BlockIndex) -> bool
{
FCacheBlock &Block = CacheBlockAllocator.Get(BlockIndex);
if (!Block.InRequestRefCount)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3420477) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3386262 on 2017/04/10 by Ben.Marsh Add app-local deployment of DirectX components that are no longer included with newer versions of Windows by default (XAudio 2.7, XInput 1.3). Also add a one-click button to the packaging settings to include the default app-local dependencies, rather than having to specify the path. Change 3386999 on 2017/04/10 by Ben.Marsh Plugins: Add support for explicit dependencies from one plugin onto another. Required plugins can be configured in an identical manner to project files, by adding a "Plugins" key to the .uplugin file. Dependencies are automatically built and loaded, and the plugin browser will warn if you try to disable a plugin that something else has a dependency on. Change 3387073 on 2017/04/10 by Ben.Marsh Move FLightPropagationRuntimeSettings into the Renderer module, to remove engine dependency on a plugin. Change 3387988 on 2017/04/11 by Steve.Robb Comments added to clarify the role of DestructItem and DestructItems. Change 3388085 on 2017/04/11 by Ben.Marsh UBT: Fix bEnabled flag on plugin references being ignored. Now collect up all the plugin references in order of priority before creating plugin instances for them. Fixes CIS fail for UT. Change 3390048 on 2017/04/12 by Richard.Hinckley #jira UE-43876 Fixed description of Streaming settings (within Project Settings). Change 3390697 on 2017/04/12 by Steve.Robb CLASS_PointersDefaultToAutoWeak and CLASS_PointersDefaultToWeak removed. Change 3390711 on 2017/04/12 by Steve.Robb AGRESSIVE_ARRAY_FORCEINLINE removed. Change 3392167 on 2017/04/13 by Robert.Manuszewski UObject can be added to GC cluster only if all of its Outers can also be added to it. Fixing asserts caused by components that are added to GC clusters even if their owner actors that can't be in GC clusters. #jira UE-42948 Change 3392309 on 2017/04/13 by Robert.Manuszewski When adding objects to clusters after these clusters have been created it's possible to come across objects that are already in the cluster we're adding the object to so instead of crashing, allow it. Change 3392620 on 2017/04/13 by Ben.Marsh UGS: Only check for updates every 5 minutes. Change 3392623 on 2017/04/13 by Ben.Marsh UGS: Only poll for new changes every 60 seconds. Change 3392744 on 2017/04/13 by Ben.Marsh UGS: Query changelist descriptions individually to determine whether changes affect code or content, to hopefully reduce Perforce server load. Change 3392874 on 2017/04/13 by Ben.Marsh UGS: Allow specifying regexes in the project config file which filters which changes to be displayed. Useful for changes submitted by build machines, updates to collections, etc... Change 3392878 on 2017/04/13 by Ben.Marsh Update UGS to version 1.96 Change 3395635 on 2017/04/17 by Ben.Marsh UAT: Prefix log output from executing UAT commands through BuildGraph with the name of that command. Change 3395655 on 2017/04/17 by Ben.Marsh UAT: Add a command for syncing a DDC over the network (SyncDDC). Allows specifying a maximum size to copy, number of days worth of modified files to copy, and time limit not to be exceeded. Change 3396989 on 2017/04/17 by Wes.Hunt CrashReporter configurable tweaks. * Added QueueWaitingTimeAlertThreshold (used to be hardcoded to 1 min). - When the queue waiting time gets beyond this many seconds, trigger a slack alert message. Default is 10 min. - Zero means never alert. * Added DiskSpaceAvailableAlertInterval (used to be hardcoded to 1 day). - Interval by which to report disk space availability. - Default is never (Zero) * Updated config file to match production config. #codereview:jin.zhang Change 3397656 on 2017/04/18 by Ben.Marsh UBT: Allow modules to opt-out of getting the default include paths from being added, by setting bAddDefaultIncludePaths = false from their build.cs file. Change 3397677 on 2017/04/18 by Robert.Manuszewski PR #3167 : Adding more descriptive error text to DetatchLinker error check (by rooneym) Change 3397722 on 2017/04/18 by Robert.Manuszewski PR #2252: Increase linker reporting for failed imports (Contributed by FineRedMist) Change 3397739 on 2017/04/18 by Richard.Hinckley #jira UE-44100 Fixed SanitizePackageName() to remove double-slash, triple-slash, etc. from package names. Also updated CreatePackage() to call SanitizePackageName() before creating. Change 3398023 on 2017/04/18 by Ben.Marsh PR #3105: Cook/package with editor and debugger attached (Contributed by projectgheist) Change 3398095 on 2017/04/18 by Ben.Marsh PR #3051: Generate map file from UAT (Contributed by projectgheist) Change 3398212 on 2017/04/18 by Ben.Marsh PR #2915: UE-38232: Removed duplicate stats (Contributed by projectgheist) Change 3399304 on 2017/04/19 by Ben.Marsh UGS: Prevent editor target files being removed when running custom tools. Change 3399306 on 2017/04/19 by Robert.Manuszewski Moved InitPropertiesFromCustomList to UbLueprintGeneratedClass and made it thread safe Change 3399729 on 2017/04/19 by Steve.Robb Simple optimization to TBitArray::RemoveAt() when all removed bits are at the end of the array. RemoveAtSwap() now simply decrements the count instead of calling RemoveAt(). Checks for a positive count added to RemoveAt() and RemoveAtSwap(). Change 3399750 on 2017/04/19 by Jin.Zhang Order branch alphabetically #RB Change 3400186 on 2017/04/19 by Steve.Robb Per-header generated code. Change 3401458 on 2017/04/20 by Steve.Robb Static log categories moved out of headers to prevent duplicates when the header is included multiple times. #jira UE-37507 Change 3401657 on 2017/04/20 by Gil.Gribb UE4 - Simplified and reworked lock free lists and the task graph bringing all platforms under the same scheme. Change 3401735 on 2017/04/20 by Gil.Gribb UE4 - Updated apple platform atomics with a new clang version which is intended to be shared among all clang platforms. Change 3403362 on 2017/04/21 by Steve.Robb Algo::Sort() fixed to support C arrays. Size+count versions of Also::IsSorted() deprecated. Algo::IsSortedBy() added. Algo::FindBy() added to allow an element to be found by projection. Simplifications and generalizations. Change 3404017 on 2017/04/21 by Ben.Marsh Fix issue where referenced plugin descriptors were missing from console builds, and prevent monolithic builds from offering to disable missing plugins. Change 3405299 on 2017/04/24 by Steve.Robb Clarified the class of the incompatible function in the error message about incompatible BP event specifiers. #jira UE-35106 Change 3405302 on 2017/04/24 by Ben.Marsh UBT: Allow excluding documentation from generated project files, by setting <ProjectFileGenerator><bIncludeDocumentation>false</bIncludeDocumentation></ProjectFileGenerator> in the XML configuration file. Change 3405629 on 2017/04/24 by Ben.Marsh Rename CPPEnvironment to CppCompileEnvironment, to reflect the class name. Change 3406431 on 2017/04/24 by Ben.Marsh UAT: Fix incorrect handling of P4SubmitOptions when multiple values are present. Change 3406670 on 2017/04/24 by Ben.Marsh UBT: Enable warnings for classes with virtual functions and no virtual destructor (C4265 on Windows, -fdelete-non-virtual-dtor on Clang). Change 3407080 on 2017/04/25 by Gil.Gribb UE4 - Critical fix: Propoerly disambiguate imports with the same name and the same outer name. This fixes an assert: LocalExportIndex.IsNull. Change 3407486 on 2017/04/25 by Gil.Gribb UE4 - Made changes so that servers, programs and non-engine executables do not create background or high priority threads. Change 3407495 on 2017/04/25 by Gil.Gribb UE4 - Tweaked out XBox and Windows low level file IO. Change 3407497 on 2017/04/25 by Gil.Gribb UE4 - Fixed bug in the pak precacher that would result in blocks being discarded too soon, which, in turn, resulted in redudnant reads. Change 3407705 on 2017/04/25 by Ben.Marsh Removing most of the junk in DotNETUtilities. Change 3409701 on 2017/04/26 by Ben.Marsh Disable another static analyzer warning for third party libraries. Change 3410074 on 2017/04/26 by Daniel.Lamb Network platform file runs heart beats and responds to modified file changes. Cook on the fly server in the editor (COTS) now detects changes to content and notifies client. Fixed issue with network platform file not using correct sandbox. #test cook on the side shootergame Change 3411131 on 2017/04/27 by Steve.Robb TIsTriviallyDestructible now supports forward-declared enums. Change 3411186 on 2017/04/27 by Steve.Robb Fix for #includes in generated code for Within classes which are in a different module from the generated class. Change 3411917 on 2017/04/27 by Steve.Robb Fixes to pushing/popping the CPP macro. Change 3411966 on 2017/04/27 by Steve.Robb Include spam reduced in generated code. Change 3412155 on 2017/04/27 by Ben.Marsh Fix for PVS Studio warning: VFOVInRadians used instead of HFOVInRadians. Change 3412223 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Calling SetHelperA.Num() twice. Change 3412273 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Duplicated variable name. Change 3412511 on 2017/04/27 by Ben.Marsh PR #3462: Fixed PVS-Studio issues (Part 1) (Contributed by PaulEremeeff) Change 3412582 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Incorrect variable name in copy/pasted code Change 3413136 on 2017/04/28 by Robert.Manuszewski Helper functions for dissolving specific GC clusters Change 3413310 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Incorrect variable name in copy/pasted code. Change 3413341 on 2017/04/28 by Gil.Gribb UE4 - Add prestream capability to allow us to preload always loaded sublevels. Only turned on for Shootergame. Change 3413351 on 2017/04/28 by Ben.Marsh Include code analysis macros directly from Platform.h, so that macros are available to everything. Change 3413352 on 2017/04/28 by Ben.Marsh Fixing a few more PVS studio warnings. Change 3413437 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Comparison is always true. Change 3413759 on 2017/04/28 by Ben.Marsh Suppressing warnings for PVS-Studio. Change 3413784 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning. Change 3413898 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning: Same conditional is checked twice. Change 3413915 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning: LHS of expression is identical to RHS. Change 3413989 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: If CurrentGraph->SubGraphs.Num() == 1, it will always enter the first conditional block. Change 3414053 on 2017/04/28 by Ben.Marsh More PVS-Studio fixes. Change 3414062 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Pointer to object goes out of scope without being freed. Change 3414070 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Fix incorrect condition. Change 3414071 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Array index is always zero. Change 3414116 on 2017/04/28 by Ben.Marsh BuildGraph: Allow marking compile tasks as unsuitable for use with the parallel executor, via an AllowParallelExecutor="false" attribute. Change 3414160 on 2017/04/28 by Ben.Marsh Add support for running PVS-Studio through UnrealBuildTool. To use, pass -StaticAnalyzer=PVSStudio to the build command line (similarly, the Visual C++ analyzer can now be invoked using -StaticAnalyzer=VisualCpp). A log file will be written to the Engine/Saved/PVS-Studio or <Project>/Saved/PVS-Studio directory containing diagnostics, which can be opened using the "unparsed output" filter in the PVS-Studio standalone application. High priority warnings are printed to stdout. Change 3414237 on 2017/04/28 by Ben.Marsh EC: Allow disabling and enabling the log preprocessor via special markers in the log. To disable: <-- Suspend Log Parsing --> To enable: <-- Resume Log Parsing --> Change 3414343 on 2017/04/28 by Ben.Marsh UBT: Exclude ThirdParty folders from PVS output. Change 3414392 on 2017/04/28 by Ben.Marsh Fix regular strings being casted to BSTRs; BSTRs have a hidden length prefix in the two bytes before the first character, so passing a regular TCHAR* is reading random memory. Change 3414459 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Object goes out of scope without being freed. Change 3414495 on 2017/04/28 by Ben.Marsh Suppress some more PVS-Studio warnings. Change 3414514 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Testing WorldType being equal to EditorPreview and not equal to Inactive is redundant; changing to match description in comment instead. Change 3414526 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Variable assigned to itself has no effect. Change 3415183 on 2017/04/29 by Ben.Marsh Fix conflict in macro definitions for ENABLE_HTTP_FOR_NFS - rename the macro defined by NetworkFile to ENABLE_HTTP_FOR_NF. Hopefully fix CIS. Change 3415765 on 2017/05/01 by Ben.Marsh Suppressing PVS-Studio warning to get things building cleanly. Not sure if FContentHelper is being leaked or not. Change 3415853 on 2017/05/01 by Ben.Marsh EC: Fix jobs never completing if a "Sync & Build" step fails. Dependent jobs should evaluate their run conditions as soon as the parent step finishes, rather than waiting for child job steps to be created. Change 3416138 on 2017/05/01 by Ben.Marsh Fix Fortnite cook failures. Not sure what the exact problem is here, but my hunch is that discarded "const" causes blueprint compile failures due to not being able to connect output pins between nodes for overloaded functions, or something like that. Change 3416309 on 2017/05/01 by Ben.Marsh Build: Fix node names for static analysis. Change 3416360 on 2017/05/01 by Ben.Marsh UBT: Remove unused arguments to PrepForUATPackageOrDeploy for Windows. Change 3416398 on 2017/05/01 by Daniel.Lamb Cook on the fly NetworkFileServerConnection Remove FileModifiedCallback delegate when the connection is closed. #test Cook on the side shootergame. Change 3416826 on 2017/05/01 by Daniel.Lamb Added callback to game when files are requested reload from networkfileserver. Game will need to unload / reload effected objects. Working on simple reload capability in shootergame. #test Cook on the side shootergame with reloading Change 3417983 on 2017/05/02 by Ben.Marsh EC: Remove warning for lines not matching p4 tag syntax when running preflights; multi-line descriptions in shelved changelists break this pattern. Change 3418747 on 2017/05/02 by Steve.Robb Fix for const pointer properties. Fix for UHT debugging manifest. Test added for pointer properties. Change 3420477 on 2017/05/03 by Gil.Gribb UE4 - Removed check from windows async IO layer. [CL 3421020 by Ben Marsh in Main branch]
2017-05-03 14:18:32 -04:00
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) Discard Cached"), Block.OffsetAndPakIndex, Block.OffsetAndPakIndex + Block.Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
ClearBlock(Block);
return true;
}
return false;
}
);
}
OffsetAndPakIndexOfSavedBlocked.RemoveAt(0, NumToRemove, false);
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
void RemoveRequest(TIntervalTreeIndex Index)
{
// CachedFilesScopeLock is locked
FPakInRequest& Request = InRequestAllocator.Get(Index);
uint16 PakIndex = GetRequestPakIndex(Request.OffsetAndPakIndex);
int64 Offset = GetRequestOffset(Request.OffsetAndPakIndex);
int64 Size = Request.Size;
FPakData& Pak = CachedPakData[PakIndex];
check(Offset + Request.Size <= Pak.TotalSize && Request.Size > 0 && Request.GetPriority() >= AIOP_MIN && Request.GetPriority() <= AIOP_MAX && int32(Request.Status) >= 0 && int32(Request.Status) < int32(EInRequestStatus::Num));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (RemoveFromIntervalTree<FPakInRequest>(&Pak.InRequests[Request.GetPriority()][(int32)Request.Status], InRequestAllocator, Index, Pak.StartShift, Pak.MaxShift))
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
int64 OffsetOfLastByte = Offset + Size - 1;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
MaybeRemoveOverlappingNodesInIntervalTree<FCacheBlock>(
&Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
Offset,
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
OffsetOfLastByte,
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
[this, OffsetOfLastByte](TIntervalTreeIndex BlockIndex) -> bool
{
FCacheBlock &Block = CacheBlockAllocator.Get(BlockIndex);
check(Block.InRequestRefCount);
if (!--Block.InRequestRefCount)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (GPakCache_NumUnreferencedBlocksToCache && GetRequestOffset(Block.OffsetAndPakIndex) + Block.Size > OffsetOfLastByte) // last block
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
OffsetAndPakIndexOfSavedBlocked.Remove(Block.OffsetAndPakIndex);
OffsetAndPakIndexOfSavedBlocked.Add(Block.OffsetAndPakIndex);
return false;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
ClearBlock(Block);
return true;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
return false;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
TrimCache();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
Offset,
Offset + Size - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this](TIntervalTreeIndex BlockIndex) -> bool
{
FCacheBlock &Block = CacheBlockAllocator.Get(BlockIndex);
check(Block.InRequestRefCount);
Block.InRequestRefCount--;
return true;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
}
else
{
check(0); // not found
}
ClearRequest(Request);
}
void NotifyComplete(TIntervalTreeIndex RequestIndex)
{
// CachedFilesScopeLock is locked
FPakInRequest& Request = InRequestAllocator.Get(RequestIndex);
uint16 PakIndex = GetRequestPakIndex(Request.OffsetAndPakIndex);
int64 Offset = GetRequestOffset(Request.OffsetAndPakIndex);
FPakData& Pak = CachedPakData[PakIndex];
check(Offset + Request.Size <= Pak.TotalSize && Request.Size > 0 && Request.GetPriority() >= AIOP_MIN && Request.GetPriority() <= AIOP_MAX && Request.Status == EInRequestStatus::Complete);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
check(Request.Owner && Request.UniqueID);
if (Request.Status == EInRequestStatus::Complete && Request.UniqueID == Request.Owner->UniqueID && RequestIndex == Request.Owner->InRequestIndex && Request.OffsetAndPakIndex == Request.Owner->OffsetAndPakIndex)
{
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) Notify complete"), Request.OffsetAndPakIndex, Request.OffsetAndPakIndex + Request.Size);
Request.Owner->RequestIsComplete();
return;
}
else
{
check(0); // request should have been found
}
}
FJoinedOffsetAndPakIndex GetNextBlock(EAsyncIOPriorityAndFlags& OutPriority)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
EAsyncIOPriorityAndFlags AsyncMinPriorityLocal = AsyncMinPriority;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
// CachedFilesScopeLock is locked
uint16 BestPakIndex = 0;
FJoinedOffsetAndPakIndex BestNext = MAX_uint64;
OutPriority = AIOP_MIN;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool bAnyOutstanding = false;
for (int32 Priority = AIOP_MAX;; Priority--)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (Priority < AsyncMinPriorityLocal && bAnyOutstanding)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
break;
}
for (int32 Pass = 0; ; Pass++)
{
FJoinedOffsetAndPakIndex LocalLastReadRequest = Pass ? 0 : LastReadRequest;
uint16 PakIndex = GetRequestPakIndex(LocalLastReadRequest);
int64 Offset = GetRequestOffset(LocalLastReadRequest);
check(Offset <= CachedPakData[PakIndex].TotalSize);
for (; BestNext == MAX_uint64 && PakIndex < CachedPakData.Num(); PakIndex++)
{
FPakData& Pak = CachedPakData[PakIndex];
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (Pak.InRequests[Priority][(int32)EInRequestStatus::Complete] != IntervalTreeInvalidIndex)
{
bAnyOutstanding = true;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting] != IntervalTreeInvalidIndex)
{
uint64 Limit = uint64(Pak.TotalSize - 1);
if (BestNext != MAX_uint64 && GetRequestPakIndex(BestNext) == PakIndex)
{
Limit = GetRequestOffset(BestNext) - 1;
}
OverlappingNodesInIntervalTreeWithShrinkingInterval<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting],
InRequestAllocator,
uint64(Offset),
Limit,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, &Pak, &BestNext, &BestPakIndex, PakIndex, &Limit, LocalLastReadRequest](TIntervalTreeIndex Index) -> bool
{
FJoinedOffsetAndPakIndex First = FirstUnfilledBlockForRequest(Index, LocalLastReadRequest);
check(LocalLastReadRequest != 0 || First != MAX_uint64); // if there was not trimming, and this thing is in the waiting list, then why was no start block found?
if (First < BestNext)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
BestNext = First;
BestPakIndex = PakIndex;
Limit = GetRequestOffset(BestNext) - 1;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
return true; // always have to keep going because we want the smallest one
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
}
}
if (!LocalLastReadRequest)
{
break; // this was a full pass
}
}
if (Priority == AIOP_MIN || BestNext != MAX_uint64)
{
OutPriority = (EAsyncIOPriorityAndFlags)Priority;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
break;
}
}
return BestNext;
}
bool AddNewBlock()
{
// CachedFilesScopeLock is locked
EAsyncIOPriorityAndFlags RequestPriority;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FJoinedOffsetAndPakIndex BestNext = GetNextBlock(RequestPriority);
check(RequestPriority < AIOP_NUM);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (BestNext == MAX_uint64)
{
return false;
}
uint16 PakIndex = GetRequestPakIndex(BestNext);
int64 Offset = GetRequestOffset(BestNext);
FPakData& Pak = CachedPakData[PakIndex];
check(Offset < Pak.TotalSize);
int64 FirstByte = AlignDown(Offset, PAK_CACHE_GRANULARITY);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
int64 LastByte = FMath::Min(Align(FirstByte + (GPakCache_MaxRequestSizeToLowerLevelKB * 1024), PAK_CACHE_GRANULARITY) - 1, Pak.TotalSize - 1);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
check(FirstByte >= 0 && LastByte < Pak.TotalSize && LastByte >= 0 && LastByte >= FirstByte);
uint32 NumBits = (PAK_CACHE_GRANULARITY + LastByte - FirstByte) / PAK_CACHE_GRANULARITY;
uint32 NumQWords = (NumBits + 63) >> 6;
static TArray<uint64> InFlightOrDone;
InFlightOrDone.Reset();
InFlightOrDone.AddZeroed(NumQWords);
if (NumBits != NumQWords * 64)
{
uint32 Extras = NumQWords * 64 - NumBits;
InFlightOrDone[NumQWords - 1] = (MAX_uint64 << (64 - Extras));
}
if (Pak.CacheBlocks[(int32)EBlockStatus::Complete] != IntervalTreeInvalidIndex)
{
OverlappingNodesInIntervalTreeMask<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
Pak.BytesToBitsShift,
&InFlightOrDone[0]
);
}
if (Pak.CacheBlocks[(int32)EBlockStatus::InFlight] != IntervalTreeInvalidIndex)
{
OverlappingNodesInIntervalTreeMask<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
Pak.BytesToBitsShift,
&InFlightOrDone[0]
);
}
static TArray<uint64> Requested;
Requested.Reset();
Requested.AddZeroed(NumQWords);
for (int32 Priority = AIOP_MAX;; Priority--)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (Priority + PAK_CACHE_MAX_PRIORITY_DIFFERENCE_MERGE < RequestPriority)
{
break;
}
if (Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting] != IntervalTreeInvalidIndex)
{
OverlappingNodesInIntervalTreeMask<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting],
InRequestAllocator,
FirstByte,
LastByte,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
Pak.BytesToBitsShift,
&Requested[0]
);
}
if (Priority == AIOP_MIN)
{
break;
}
}
int64 Size = PAK_CACHE_GRANULARITY * 64 * NumQWords;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
for (uint32 Index = 0; Index < NumQWords; Index++)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
uint64 NotAlreadyInFlightAndRequested = ((~InFlightOrDone[Index]) & Requested[Index]);
if (NotAlreadyInFlightAndRequested != MAX_uint64)
{
Size = PAK_CACHE_GRANULARITY * 64 * Index;
while (NotAlreadyInFlightAndRequested & 1)
{
Size += PAK_CACHE_GRANULARITY;
NotAlreadyInFlightAndRequested >>= 1;
}
break;
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(Size > 0 && Size <= (GPakCache_MaxRequestSizeToLowerLevelKB * 1024));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Size = FMath::Min(FirstByte + Size, LastByte + 1) - FirstByte;
TIntervalTreeIndex NewIndex = CacheBlockAllocator.Alloc();
FCacheBlock& Block = CacheBlockAllocator.Get(NewIndex);
Block.Index = NewIndex;
Block.InRequestRefCount = 0;
Block.Memory = nullptr;
Block.OffsetAndPakIndex = MakeJoinedRequest(PakIndex, FirstByte);
Block.Size = Size;
Block.Status = EBlockStatus::InFlight;
AddToIntervalTree<FCacheBlock>(
&Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
NewIndex,
Pak.StartShift,
Pak.MaxShift
);
TArray<TIntervalTreeIndex> Inflights;
for (int32 Priority = AIOP_MAX;; Priority--)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting] != IntervalTreeInvalidIndex)
{
MaybeRemoveOverlappingNodesInIntervalTree<FPakInRequest>(
&Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting],
InRequestAllocator,
uint64(FirstByte),
uint64(FirstByte + Size - 1),
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, &Block, &Inflights](TIntervalTreeIndex RequestIndex) -> bool
{
Block.InRequestRefCount++;
if (FirstUnfilledBlockForRequest(RequestIndex) == MAX_uint64)
{
InRequestAllocator.Get(RequestIndex).Next = IntervalTreeInvalidIndex;
Inflights.Add(RequestIndex);
return true;
}
return false;
}
);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if PAK_EXTRA_CHECKS
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
OverlappingNodesInIntervalTree<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::InFlight],
InRequestAllocator,
uint64(FirstByte),
uint64(FirstByte + Size - 1),
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[](TIntervalTreeIndex) -> bool
{
check(0); // if this is in flight, then why does it overlap my new block
return false;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
OverlappingNodesInIntervalTree<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::Complete],
InRequestAllocator,
uint64(FirstByte),
uint64(FirstByte + Size - 1),
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[](TIntervalTreeIndex) -> bool
{
check(0); // if this is complete, then why does it overlap my new block
return false;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
);
#endif
if (Priority == AIOP_MIN)
{
break;
}
}
for (TIntervalTreeIndex Fli : Inflights)
{
FPakInRequest& CompReq = InRequestAllocator.Get(Fli);
CompReq.Status = EInRequestStatus::InFlight;
AddToIntervalTree(&Pak.InRequests[CompReq.GetPriority()][(int32)EInRequestStatus::InFlight], InRequestAllocator, Fli, Pak.StartShift, Pak.MaxShift);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
StartBlockTask(Block);
return true;
}
int32 OpenTaskSlot()
{
int32 IndexToFill = -1;
for (int32 Index = 0; Index < GPakCache_MaxRequestsToLowerLevel; Index++)
{
if (!RequestsToLower[Index].RequestHandle)
{
IndexToFill = Index;
break;
}
}
return IndexToFill;
}
bool HasRequestsAtStatus(EInRequestStatus Status)
{
for (uint16 PakIndex = 0; PakIndex < CachedPakData.Num(); PakIndex++)
{
FPakData& Pak = CachedPakData[PakIndex];
for (int32 Priority = AIOP_MAX;; Priority--)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (Pak.InRequests[Priority][(int32)Status] != IntervalTreeInvalidIndex)
{
return true;
}
if (Priority == AIOP_MIN)
{
break;
}
}
}
return false;
}
bool CanStartAnotherTask()
{
if (OpenTaskSlot() < 0)
{
return false;
}
return HasRequestsAtStatus(EInRequestStatus::Waiting);
}
void ClearOldBlockTasks()
{
if (!NotifyRecursion)
{
for (IAsyncReadRequest* Elem : RequestsToDelete)
{
Elem->WaitCompletion();
delete Elem;
}
RequestsToDelete.Empty();
}
}
void StartBlockTask(FCacheBlock& Block)
{
// CachedFilesScopeLock is locked
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
#define CHECK_REDUNDANT_READS (0)
#if CHECK_REDUNDANT_READS
static struct FRedundantReadTracker
{
TMap<int64, double> LastReadTime;
int32 NumRedundant;
FRedundantReadTracker()
: NumRedundant(0)
{
}
void CheckBlock(int64 Offset, int64 Size)
{
double NowTime = FPlatformTime::Seconds();
int64 StartBlock = Offset / PAK_CACHE_GRANULARITY;
int64 LastBlock = (Offset + Size - 1) / PAK_CACHE_GRANULARITY;
for (int64 CurBlock = StartBlock; CurBlock <= LastBlock; CurBlock++)
{
double LastTime = LastReadTime.FindRef(CurBlock);
if (LastTime > 0.0 && NowTime - LastTime < 3.0)
{
NumRedundant++;
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("Redundant read at block %d, %6.1fms ago (%d total redundant blocks)\r\n"), int32(CurBlock), 1000.0f * float(NowTime - LastTime), NumRedundant);
}
LastReadTime.Add(CurBlock, NowTime);
}
}
} RedundantReadTracker;
#else
static struct FRedundantReadTracker
{
FORCEINLINE void CheckBlock(int64 Offset, int64 Size)
{
}
} RedundantReadTracker;
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
int32 IndexToFill = OpenTaskSlot();
if (IndexToFill < 0)
{
check(0);
return;
}
EAsyncIOPriorityAndFlags Priority = AIOP_Normal; // the lower level requests are not prioritized at the moment
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
check(Block.Status == EBlockStatus::InFlight);
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) StartBlockTask"), Block.OffsetAndPakIndex, Block.OffsetAndPakIndex + Block.Size);
uint16 PakIndex = GetRequestPakIndex(Block.OffsetAndPakIndex);
FPakData& Pak = CachedPakData[PakIndex];
RequestsToLower[IndexToFill].BlockIndex = Block.Index;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
RequestsToLower[IndexToFill].RequestSize = Block.Size;
RequestsToLower[IndexToFill].Memory = nullptr;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
check(&CacheBlockAllocator.Get(RequestsToLower[IndexToFill].BlockIndex) == &Block);
// FORT HACK
// DO NOT BRING BACK
// FORT HACK
bool bDoCheck = true;
#if PLATFORM_IOS
static const int32 Range = 100;
static const int32 Offset = 500;
static int32 RandomCheckCount = FMath::Rand() % Range + Offset;
bDoCheck = --RandomCheckCount <= 0;
if (bDoCheck)
{
RandomCheckCount = FMath::Rand() % Range + Offset;
}
#endif
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
FAsyncFileCallBack CallbackFromLower =
[this, IndexToFill, bDoCheck](bool bWasCanceled, IAsyncReadRequest* Request)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
{
if (SigningKey.IsValid() && bDoCheck)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
{
StartSignatureCheck(bWasCanceled, Request, IndexToFill);
}
else
{
NewRequestsToLowerComplete(bWasCanceled, Request, IndexToFill);
}
};
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
RequestsToLower[IndexToFill].RequestHandle = Pak.Handle->ReadRequest(GetRequestOffset(Block.OffsetAndPakIndex), Block.Size, Priority, &CallbackFromLower);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
RedundantReadTracker.CheckBlock(GetRequestOffset(Block.OffsetAndPakIndex), Block.Size);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
LastReadRequest = Block.OffsetAndPakIndex + Block.Size;
Loads++;
LoadSize += Block.Size;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
void CompleteRequest(bool bWasCanceled, uint8* Memory, TIntervalTreeIndex BlockIndex)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
FCacheBlock& Block = CacheBlockAllocator.Get(BlockIndex);
uint16 PakIndex = GetRequestPakIndex(Block.OffsetAndPakIndex);
int64 Offset = GetRequestOffset(Block.OffsetAndPakIndex);
FPakData& Pak = CachedPakData[PakIndex];
check(!Block.Memory && Block.Size);
check(!bWasCanceled); // this is doable, but we need to transition requests back to waiting, inflight etc.
if (!RemoveFromIntervalTree<FCacheBlock>(&Pak.CacheBlocks[(int32)EBlockStatus::InFlight], CacheBlockAllocator, Block.Index, Pak.StartShift, Pak.MaxShift))
{
check(0);
}
if (Block.InRequestRefCount == 0 || bWasCanceled)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.Size > 0);
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3386108) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3345860 on 2017/03/14 by Daniel.Lamb Fixed crash when building DLC #test Cook paragon. Change 3347324 on 2017/03/15 by Gil.Gribb UE4 - Removed old code relating to FAsyncArchive, FAsyncIOSubsystemBase and package level compression. The editor now uses the lowest levels on the new async IO scheme. Change 3347331 on 2017/03/15 by Robert.Manuszewski Fix for a crash caused by GC killing BP class (due to no strong references) but its CDO is being kept alive because it was in the same cluster as the class and was not marked as pending kill. #jira UE-42732 Change 3347371 on 2017/03/15 by Graeme.Thornton Fix for runtime asset cache not invalidating files with an outdated version number Change 3349161 on 2017/03/16 by Steve.Robb Generated UFUNCTION FNames no longer exported. Misc refactors of code generation. Change 3349167 on 2017/03/16 by Steve.Robb Unused TBoolConstant removed (the more general TIntegralConstant should be used instead). Change 3349274 on 2017/03/16 by Gil.Gribb UE4 - Fix loading a package that is already loaded. Change 3349534 on 2017/03/16 by Ben.Marsh UBT: Check that the SN-DBS service is running before attempting to use it. Change 3349612 on 2017/03/16 by Gil.Gribb UE4 - Increased estimate of summary size. Change 3350021 on 2017/03/16 by Gil.Gribb UE4 - Fixed crash in signature checks when mounting pak files. Change 3350052 on 2017/03/16 by Ben.Marsh Remove invalid characters from macro names before passing as macro values. Prevents compile errors for projects which have apostrophes in the name. Change 3350360 on 2017/03/16 by Ben.Marsh UAT: Fix non-threadsafe access of ExeToTimeInMs when spawning external processes. Change 3351670 on 2017/03/17 by Ben.Marsh UBT: Ignore all default libraries when creating import libs. Sometimes #pragma comment(lib, ...) directives can add force additional libraries onto the linker/librarian command line. We don't want or need these included when generating import libraries, but they can cause errors due to search paths not being able to find them. Change 3352289 on 2017/03/17 by Ben.Marsh Fix issues working with > 2GB archives caused by truncation of the return value from FArchive::Tell() down to 32-bits. Change 3352390 on 2017/03/17 by Ben.Marsh Remove unused/out of date binaries for CrashReporter. Change 3352392 on 2017/03/17 by Ben.Marsh Remove UnrealDocTool binaries. This is distributed through a Visual Studio plugin now. Change 3352410 on 2017/03/17 by Ben.Marsh Remove P4ChangeReporter. I don't believe this is used any more. Change 3352450 on 2017/03/17 by Ben.Marsh Disable including CrashReporter by default when packaging projects. This is only useful with a CrashReporter backend set up, which only usually applies to Epic internal projects. Change 3352455 on 2017/03/17 by Ben.Marsh Remove RegisterPII and TranslatedWordsCountEstimator executables. Don't believe these are used any more. Change 3352940 on 2017/03/17 by Wes.Hunt Update CRP to not send Slack queue size updates unless the waiting time is greater than 1 minute. #codereview: jin.zhang Change 3353658 on 2017/03/20 by Steve.Robb Fix for crash when importing a BP which has a populated TMap with an enum class key. Change 3354056 on 2017/03/20 by Steve.Robb TAssetPtr<T> can now be constructed from a nullptr without a full definition of T. Change 3356111 on 2017/03/21 by Graeme.Thornton Fix for UE-34131 - Support double and fname stat types in UFE stat export to CSV #jira UE-34131 Change 3358584 on 2017/03/22 by Daniel.Lamb Fixed the garbage collection keep flags when cleaning the sandbox for iterative cooking. #test Cook shootergame Change 3360379 on 2017/03/23 by Gil.Gribb UE4 - Avoid adding a linker annotation if it actually hasn't changed. Improves ConditionalBeginDestroy performance. Change 3360623 on 2017/03/23 by Gil.Gribb UE4 - Change from MarcA to avoid a redudnant removal of PrimitiveComponent from the streaming managers during ConditionalBeginDestroy. Change 3360627 on 2017/03/23 by Gil.Gribb UE4 - Optimized UObject hash tables for speed and space. Change 3361183 on 2017/03/23 by Gil.Gribb UE4 - Fixed change to NotifyPrimitiveDetached so that it works in the editor. Change 3361906 on 2017/03/23 by Steve.Robb Fix for a bad hint index when instantiating map property subobjects when the defaults has fewer but non-zero elements. #jira UE-43272 Change 3362839 on 2017/03/24 by Gil.Gribb UE4 - Fixed hash table lock optimization. Change 3367348 on 2017/03/28 by Robert.Manuszewski Making sure streamed-in SoundWaves get added to GC clusters. Change 3367386 on 2017/03/28 by Ben.Marsh EC: Pass the Semaphores property from a build type as a parameter to new build jobs. Change 3367422 on 2017/03/28 by Ben.Marsh EC: Allow limiting the number of scheduled jobs that will be automatically run at a particular time. Each build type can have a 'Semaphores' property in the branch settings file, which will be copied to newly created jobs. Before scheduling new jobs, EC is queried for the 'Semaphores' property on any running jobs, and build types with existing semaphores will be skipped. Does not prevent jobs from being run manually. Change 3367469 on 2017/03/28 by Ben.Marsh EC: Prevent multiple incremental jobs running at once. Change 3367640 on 2017/03/28 by Ben.Marsh Plugins: Add an optional EngineVersion field back into the plugin descriptor. If set, the engine will warn if the plugin is not compatible with the current engine version. Plugins will set this field by default when packaging; pass -Unversioned to override. Change 3367836 on 2017/03/28 by Uriel.Doyon Improved handled of references in the streaming manager Change 3369354 on 2017/03/29 by Graeme.Thornton Added AES encrypt/decrypt functions that take a byte array for the key Change 3369804 on 2017/03/29 by Ben.Marsh Remove incorrect "EngineVersion" settings from plugin descriptors. Change 3370462 on 2017/03/29 by Ben.Marsh Editor: Install Visual Studio 2017 by default, instead of Visual Studio 2015. Changed to use ExecElevatedProcess() to prevent installer failing to run if the current user is not already an administrator. #jira UE-43467 Change 3371598 on 2017/03/30 by Ben.Marsh UBT: Fix message for missing toolchain in VS2017. Change 3372827 on 2017/03/30 by Ben.Marsh BuildGraph: Output an error at the end of each step if any previous build products have been modified. Change 3372947 on 2017/03/30 by Ben.Marsh [Merge] Always add the host editor platform as supported in an installed build. Not doing so prevents the build platform being registered in UBT, which prevents doing any platform-specific staging operations in UAT. Change 3372958 on 2017/03/30 by Ben.Marsh [Merge] Simplify log output for cooks. Suppress additional timestamps from the editor when running through UAT. Change 3372981 on 2017/03/30 by Ben.Marsh [Merge] Modular game fixes for UAT * Store list of executable names from the receipts instead of generating them from Target/Platform/Config/Architecture combination * Get full list of staged executables from receipts instead of assuming only non-code projects are in Engine * Always pass short project name as Bootstrap argument, so that modular game exe knows which project to start Change 3373024 on 2017/03/30 by Ben.Marsh [Merge] Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep. Change 3373041 on 2017/03/30 by Ben.Marsh [Merge] Added UAT script to replace assets with another source Renamed ReplaceAssetsCommandlet to GenerateAssetsManifest as it now outputs a list of files and has nothing specific about replacing files Change 3373052 on 2017/03/30 by Ben.Marsh [Merge] Changed CopyUsingDistillFileSet command so that it can use a pre-existing manifest file instead of running commandlet Change 3373092 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash attempting to load cooked static mesh in editor Change 3373112 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash caused by loading cooked StaticMesh in editor that didn't have any SourceModels Change 3373132 on 2017/03/30 by Ben.Marsh [Merge] Added Additional Maps that are always cooked to the GenerateDistillFileSetsCommandlet Change 3373138 on 2017/03/30 by Ben.Marsh [Merge] Fixed code issue with playback of cooked SoundCues Skip over code using editor only data when editor data has been stripped Change 3373143 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash when attempting to open multiple cooked assets Change 3373156 on 2017/03/30 by Ben.Marsh [Merge] Added commandlet to replace game assets with those from another source (intended for cooked asset replacement) Change 3373161 on 2017/03/30 by Ben.Marsh [Merge] Prevented crash by not attempting to Load Mips again if a package has cooked data Change 3373168 on 2017/03/30 by Ben.Marsh [Merge] Fix output path for DLC pak file, so it can be discovered by the engine and automatically mounted (and to stop it colliding with the main game pak file). Change 3373204 on 2017/03/30 by Ben.Marsh [Merge] Fix crash when switching levels in PIE, due to bulk data already having been discarded for cooked assets. Cooking sets BULKDATA_SingleUse for textures, but PIEing needs to keep bulk data around. Change 3373209 on 2017/03/30 by Ben.Marsh [Merge] Fix missing material in mod editor for cooked assets. Change 3373388 on 2017/03/30 by Ben.Marsh [Merge] Various improvements to the plugin browser and new plugin wizard from Robo Recall. Change 3374200 on 2017/03/31 by Ben.Marsh [Merge] Latest OdinEditor plugin from //Odin/Main, to fix build failures. Re-made change to OdinUnrealEdEngine to remove dependencies on analytics. Change 3374279 on 2017/03/31 by Ben.Marsh PR #3441: Invalid JSON in FeaturePacks (Contributed by projectgheist) Change 3374331 on 2017/03/31 by Ben.Marsh UBT: Disable warning pragmas on Mono; not supported on current compiler. #jira UE-43451 Change 3375108 on 2017/03/31 by Ben.Marsh Removing another plugin EngineVersion property. Change 3375126 on 2017/03/31 by Ben.Marsh Fix incorrect executable paths being generated for Windows. Change 3375159 on 2017/03/31 by Graeme.Thornton Pak Index Encryption - Added "-encryptindex" option to unrealpak which will encrypt the pak index, making the pak file unreadable without the associated decryption key - Added "-encryptpakindex" option to UAT to force on index encryption - Added "bEncryptPakIndex" setting to project packaging settings so pak encryption can be controlled via the editor Change 3375197 on 2017/03/31 by Graeme.Thornton Enable pak index encryption in shootergame Change 3375377 on 2017/03/31 by Ben.Marsh Add build node to submit updated UnrealPak binaries for Win64, Mac and Linux. Currently has to be run via a custom build on EC, with the target set to "Submit UnrealPak Binaries". Change 3376418 on 2017/04/03 by Ben.Marsh BuildGraph: Always clear the cached node state when running locally without having to manually specify the -ClearHistory argument. The -Resume argument allows the previous behavior of continuing a previous build. Change 3376447 on 2017/04/03 by Ben.Marsh Build: Remove some unused stream settings Change 3376469 on 2017/04/03 by Ben.Marsh Build: Add a customizable field for the script to use for custom builds in every branch. Change 3376654 on 2017/04/03 by Ben.Marsh Add a fatal error message containing the module with an outstanding reference when trying to unload it. #jira UE-42423 Change 3376747 on 2017/04/03 by Gil.Gribb UE4 - Fixed crash relating to FGenericAsyncReadFileHandle when not using the EDL. Change 3377173 on 2017/04/03 by Ben.Marsh Make sure callstacks are written to stdout following a crash on a background thread. Change 3377183 on 2017/04/03 by Ben.Marsh Removing support for building VS2013 targets. Ability to generate VS2013 project files is still allowed, but unsupported (via the -2013unsupported command line argument). Change 3377280 on 2017/04/03 by Ben.Marsh Build: Post UGS badges for all UE4 development streams, with the project set to $(Branch)/... Change 3377311 on 2017/04/03 by Ben.Marsh Build: Set the 'Semaphores' parameter for any jobs started from a schedule. Change 3377326 on 2017/04/03 by Ben.Marsh UGS: Show badges which match an entire subtree if the project field ends with "...". Change 3377392 on 2017/04/03 by Ben.Marsh Add badges to UE4/Main and UE4/Release streams, and change the names of the builds in development streams to distinguish them. Change 3377895 on 2017/04/03 by Ben.Marsh EC: Send notification emails whenever UAT fails to compile. Change 3377923 on 2017/04/03 by Ben.Marsh Build: Use a different semaphore for the common editors build target to the incremental compile build target. Change 3378297 on 2017/04/04 by Graeme.Thornton Fix incorrect generation of UE_ENGINE_DIRECTORY in UBT Change 3378301 on 2017/04/04 by Ben.Marsh UBT: Try enabling bAdaptiveUnityDisablesPCH by default, to reduce the number of build failures we see due to missing includes. Change 3378460 on 2017/04/04 by Graeme.Thornton Remove dependency preloading system from sync and async loading paths Change 3378535 on 2017/04/04 by Robert.Manuszewski Fix for audio crash when launching Ocean PIE after removing the audio chunk allocation in CL #3347324 #jira UE-43544 Change 3378575 on 2017/04/04 by Robert.Manuszewski Making sure actor clusters are not created in non-cooked builds #jira UE-43617 #jira UE-43614 Change 3378589 on 2017/04/04 by Robert.Manuszewski Disabling debug GC cluster logging #jira UE-43617 Change 3379118 on 2017/04/04 by Robert.Manuszewski Disabling actor clustering by default, keeping it on in Orion and Ocean Change 3379815 on 2017/04/04 by Ben.Marsh Revert change to derive executable names from target receipts. While a better solution than making them up, Android relies on having the base executable names for supporting multiple architectures. Change 3380811 on 2017/04/05 by Gil.Gribb UE4 - Put the special boot order things into baseengine.ini so that licensees and games can add to it. Change 3383313 on 2017/04/06 by Uriel.Doyon Integrated CL 3372436 3372765 3373272 from Dev-Rendering #JIRA UE-43669 Change 3383531 on 2017/04/06 by Ben.Marsh UGS: Ignore failures when querying whether paths exist. Permissions can cause this folder to fail, even if it will succeed at a parent directory. Change 3383786 on 2017/04/06 by Ben.Zeigler Back out changelist 3382694 and replace with CL #3383757 from bob.tellez: Fix memory stomping issue caused by removing a FFortProfileSynchronizeRequest from SynchronizeRequests in UFortRegisteredPlayerInfo::UpdateSynchronizeRequest before SynchronizeProfile had finished executing Change 3385089 on 2017/04/07 by Gil.Gribb UE4 - Critical. Fixed memory leak in pak precacher. [CL 3386123 by Ben Marsh in Main branch]
2017-04-10 11:00:33 -04:00
FMemory::Free(Memory);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3420477) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3386262 on 2017/04/10 by Ben.Marsh Add app-local deployment of DirectX components that are no longer included with newer versions of Windows by default (XAudio 2.7, XInput 1.3). Also add a one-click button to the packaging settings to include the default app-local dependencies, rather than having to specify the path. Change 3386999 on 2017/04/10 by Ben.Marsh Plugins: Add support for explicit dependencies from one plugin onto another. Required plugins can be configured in an identical manner to project files, by adding a "Plugins" key to the .uplugin file. Dependencies are automatically built and loaded, and the plugin browser will warn if you try to disable a plugin that something else has a dependency on. Change 3387073 on 2017/04/10 by Ben.Marsh Move FLightPropagationRuntimeSettings into the Renderer module, to remove engine dependency on a plugin. Change 3387988 on 2017/04/11 by Steve.Robb Comments added to clarify the role of DestructItem and DestructItems. Change 3388085 on 2017/04/11 by Ben.Marsh UBT: Fix bEnabled flag on plugin references being ignored. Now collect up all the plugin references in order of priority before creating plugin instances for them. Fixes CIS fail for UT. Change 3390048 on 2017/04/12 by Richard.Hinckley #jira UE-43876 Fixed description of Streaming settings (within Project Settings). Change 3390697 on 2017/04/12 by Steve.Robb CLASS_PointersDefaultToAutoWeak and CLASS_PointersDefaultToWeak removed. Change 3390711 on 2017/04/12 by Steve.Robb AGRESSIVE_ARRAY_FORCEINLINE removed. Change 3392167 on 2017/04/13 by Robert.Manuszewski UObject can be added to GC cluster only if all of its Outers can also be added to it. Fixing asserts caused by components that are added to GC clusters even if their owner actors that can't be in GC clusters. #jira UE-42948 Change 3392309 on 2017/04/13 by Robert.Manuszewski When adding objects to clusters after these clusters have been created it's possible to come across objects that are already in the cluster we're adding the object to so instead of crashing, allow it. Change 3392620 on 2017/04/13 by Ben.Marsh UGS: Only check for updates every 5 minutes. Change 3392623 on 2017/04/13 by Ben.Marsh UGS: Only poll for new changes every 60 seconds. Change 3392744 on 2017/04/13 by Ben.Marsh UGS: Query changelist descriptions individually to determine whether changes affect code or content, to hopefully reduce Perforce server load. Change 3392874 on 2017/04/13 by Ben.Marsh UGS: Allow specifying regexes in the project config file which filters which changes to be displayed. Useful for changes submitted by build machines, updates to collections, etc... Change 3392878 on 2017/04/13 by Ben.Marsh Update UGS to version 1.96 Change 3395635 on 2017/04/17 by Ben.Marsh UAT: Prefix log output from executing UAT commands through BuildGraph with the name of that command. Change 3395655 on 2017/04/17 by Ben.Marsh UAT: Add a command for syncing a DDC over the network (SyncDDC). Allows specifying a maximum size to copy, number of days worth of modified files to copy, and time limit not to be exceeded. Change 3396989 on 2017/04/17 by Wes.Hunt CrashReporter configurable tweaks. * Added QueueWaitingTimeAlertThreshold (used to be hardcoded to 1 min). - When the queue waiting time gets beyond this many seconds, trigger a slack alert message. Default is 10 min. - Zero means never alert. * Added DiskSpaceAvailableAlertInterval (used to be hardcoded to 1 day). - Interval by which to report disk space availability. - Default is never (Zero) * Updated config file to match production config. #codereview:jin.zhang Change 3397656 on 2017/04/18 by Ben.Marsh UBT: Allow modules to opt-out of getting the default include paths from being added, by setting bAddDefaultIncludePaths = false from their build.cs file. Change 3397677 on 2017/04/18 by Robert.Manuszewski PR #3167 : Adding more descriptive error text to DetatchLinker error check (by rooneym) Change 3397722 on 2017/04/18 by Robert.Manuszewski PR #2252: Increase linker reporting for failed imports (Contributed by FineRedMist) Change 3397739 on 2017/04/18 by Richard.Hinckley #jira UE-44100 Fixed SanitizePackageName() to remove double-slash, triple-slash, etc. from package names. Also updated CreatePackage() to call SanitizePackageName() before creating. Change 3398023 on 2017/04/18 by Ben.Marsh PR #3105: Cook/package with editor and debugger attached (Contributed by projectgheist) Change 3398095 on 2017/04/18 by Ben.Marsh PR #3051: Generate map file from UAT (Contributed by projectgheist) Change 3398212 on 2017/04/18 by Ben.Marsh PR #2915: UE-38232: Removed duplicate stats (Contributed by projectgheist) Change 3399304 on 2017/04/19 by Ben.Marsh UGS: Prevent editor target files being removed when running custom tools. Change 3399306 on 2017/04/19 by Robert.Manuszewski Moved InitPropertiesFromCustomList to UbLueprintGeneratedClass and made it thread safe Change 3399729 on 2017/04/19 by Steve.Robb Simple optimization to TBitArray::RemoveAt() when all removed bits are at the end of the array. RemoveAtSwap() now simply decrements the count instead of calling RemoveAt(). Checks for a positive count added to RemoveAt() and RemoveAtSwap(). Change 3399750 on 2017/04/19 by Jin.Zhang Order branch alphabetically #RB Change 3400186 on 2017/04/19 by Steve.Robb Per-header generated code. Change 3401458 on 2017/04/20 by Steve.Robb Static log categories moved out of headers to prevent duplicates when the header is included multiple times. #jira UE-37507 Change 3401657 on 2017/04/20 by Gil.Gribb UE4 - Simplified and reworked lock free lists and the task graph bringing all platforms under the same scheme. Change 3401735 on 2017/04/20 by Gil.Gribb UE4 - Updated apple platform atomics with a new clang version which is intended to be shared among all clang platforms. Change 3403362 on 2017/04/21 by Steve.Robb Algo::Sort() fixed to support C arrays. Size+count versions of Also::IsSorted() deprecated. Algo::IsSortedBy() added. Algo::FindBy() added to allow an element to be found by projection. Simplifications and generalizations. Change 3404017 on 2017/04/21 by Ben.Marsh Fix issue where referenced plugin descriptors were missing from console builds, and prevent monolithic builds from offering to disable missing plugins. Change 3405299 on 2017/04/24 by Steve.Robb Clarified the class of the incompatible function in the error message about incompatible BP event specifiers. #jira UE-35106 Change 3405302 on 2017/04/24 by Ben.Marsh UBT: Allow excluding documentation from generated project files, by setting <ProjectFileGenerator><bIncludeDocumentation>false</bIncludeDocumentation></ProjectFileGenerator> in the XML configuration file. Change 3405629 on 2017/04/24 by Ben.Marsh Rename CPPEnvironment to CppCompileEnvironment, to reflect the class name. Change 3406431 on 2017/04/24 by Ben.Marsh UAT: Fix incorrect handling of P4SubmitOptions when multiple values are present. Change 3406670 on 2017/04/24 by Ben.Marsh UBT: Enable warnings for classes with virtual functions and no virtual destructor (C4265 on Windows, -fdelete-non-virtual-dtor on Clang). Change 3407080 on 2017/04/25 by Gil.Gribb UE4 - Critical fix: Propoerly disambiguate imports with the same name and the same outer name. This fixes an assert: LocalExportIndex.IsNull. Change 3407486 on 2017/04/25 by Gil.Gribb UE4 - Made changes so that servers, programs and non-engine executables do not create background or high priority threads. Change 3407495 on 2017/04/25 by Gil.Gribb UE4 - Tweaked out XBox and Windows low level file IO. Change 3407497 on 2017/04/25 by Gil.Gribb UE4 - Fixed bug in the pak precacher that would result in blocks being discarded too soon, which, in turn, resulted in redudnant reads. Change 3407705 on 2017/04/25 by Ben.Marsh Removing most of the junk in DotNETUtilities. Change 3409701 on 2017/04/26 by Ben.Marsh Disable another static analyzer warning for third party libraries. Change 3410074 on 2017/04/26 by Daniel.Lamb Network platform file runs heart beats and responds to modified file changes. Cook on the fly server in the editor (COTS) now detects changes to content and notifies client. Fixed issue with network platform file not using correct sandbox. #test cook on the side shootergame Change 3411131 on 2017/04/27 by Steve.Robb TIsTriviallyDestructible now supports forward-declared enums. Change 3411186 on 2017/04/27 by Steve.Robb Fix for #includes in generated code for Within classes which are in a different module from the generated class. Change 3411917 on 2017/04/27 by Steve.Robb Fixes to pushing/popping the CPP macro. Change 3411966 on 2017/04/27 by Steve.Robb Include spam reduced in generated code. Change 3412155 on 2017/04/27 by Ben.Marsh Fix for PVS Studio warning: VFOVInRadians used instead of HFOVInRadians. Change 3412223 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Calling SetHelperA.Num() twice. Change 3412273 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Duplicated variable name. Change 3412511 on 2017/04/27 by Ben.Marsh PR #3462: Fixed PVS-Studio issues (Part 1) (Contributed by PaulEremeeff) Change 3412582 on 2017/04/27 by Ben.Marsh Fix for PVS-Studio warning: Incorrect variable name in copy/pasted code Change 3413136 on 2017/04/28 by Robert.Manuszewski Helper functions for dissolving specific GC clusters Change 3413310 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Incorrect variable name in copy/pasted code. Change 3413341 on 2017/04/28 by Gil.Gribb UE4 - Add prestream capability to allow us to preload always loaded sublevels. Only turned on for Shootergame. Change 3413351 on 2017/04/28 by Ben.Marsh Include code analysis macros directly from Platform.h, so that macros are available to everything. Change 3413352 on 2017/04/28 by Ben.Marsh Fixing a few more PVS studio warnings. Change 3413437 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Comparison is always true. Change 3413759 on 2017/04/28 by Ben.Marsh Suppressing warnings for PVS-Studio. Change 3413784 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning. Change 3413898 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning: Same conditional is checked twice. Change 3413915 on 2017/04/28 by Ben.Marsh Fix PVS-Studio warning: LHS of expression is identical to RHS. Change 3413989 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: If CurrentGraph->SubGraphs.Num() == 1, it will always enter the first conditional block. Change 3414053 on 2017/04/28 by Ben.Marsh More PVS-Studio fixes. Change 3414062 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Pointer to object goes out of scope without being freed. Change 3414070 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Fix incorrect condition. Change 3414071 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Array index is always zero. Change 3414116 on 2017/04/28 by Ben.Marsh BuildGraph: Allow marking compile tasks as unsuitable for use with the parallel executor, via an AllowParallelExecutor="false" attribute. Change 3414160 on 2017/04/28 by Ben.Marsh Add support for running PVS-Studio through UnrealBuildTool. To use, pass -StaticAnalyzer=PVSStudio to the build command line (similarly, the Visual C++ analyzer can now be invoked using -StaticAnalyzer=VisualCpp). A log file will be written to the Engine/Saved/PVS-Studio or <Project>/Saved/PVS-Studio directory containing diagnostics, which can be opened using the "unparsed output" filter in the PVS-Studio standalone application. High priority warnings are printed to stdout. Change 3414237 on 2017/04/28 by Ben.Marsh EC: Allow disabling and enabling the log preprocessor via special markers in the log. To disable: <-- Suspend Log Parsing --> To enable: <-- Resume Log Parsing --> Change 3414343 on 2017/04/28 by Ben.Marsh UBT: Exclude ThirdParty folders from PVS output. Change 3414392 on 2017/04/28 by Ben.Marsh Fix regular strings being casted to BSTRs; BSTRs have a hidden length prefix in the two bytes before the first character, so passing a regular TCHAR* is reading random memory. Change 3414459 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Object goes out of scope without being freed. Change 3414495 on 2017/04/28 by Ben.Marsh Suppress some more PVS-Studio warnings. Change 3414514 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Testing WorldType being equal to EditorPreview and not equal to Inactive is redundant; changing to match description in comment instead. Change 3414526 on 2017/04/28 by Ben.Marsh Fix for PVS-Studio warning: Variable assigned to itself has no effect. Change 3415183 on 2017/04/29 by Ben.Marsh Fix conflict in macro definitions for ENABLE_HTTP_FOR_NFS - rename the macro defined by NetworkFile to ENABLE_HTTP_FOR_NF. Hopefully fix CIS. Change 3415765 on 2017/05/01 by Ben.Marsh Suppressing PVS-Studio warning to get things building cleanly. Not sure if FContentHelper is being leaked or not. Change 3415853 on 2017/05/01 by Ben.Marsh EC: Fix jobs never completing if a "Sync & Build" step fails. Dependent jobs should evaluate their run conditions as soon as the parent step finishes, rather than waiting for child job steps to be created. Change 3416138 on 2017/05/01 by Ben.Marsh Fix Fortnite cook failures. Not sure what the exact problem is here, but my hunch is that discarded "const" causes blueprint compile failures due to not being able to connect output pins between nodes for overloaded functions, or something like that. Change 3416309 on 2017/05/01 by Ben.Marsh Build: Fix node names for static analysis. Change 3416360 on 2017/05/01 by Ben.Marsh UBT: Remove unused arguments to PrepForUATPackageOrDeploy for Windows. Change 3416398 on 2017/05/01 by Daniel.Lamb Cook on the fly NetworkFileServerConnection Remove FileModifiedCallback delegate when the connection is closed. #test Cook on the side shootergame. Change 3416826 on 2017/05/01 by Daniel.Lamb Added callback to game when files are requested reload from networkfileserver. Game will need to unload / reload effected objects. Working on simple reload capability in shootergame. #test Cook on the side shootergame with reloading Change 3417983 on 2017/05/02 by Ben.Marsh EC: Remove warning for lines not matching p4 tag syntax when running preflights; multi-line descriptions in shelved changelists break this pattern. Change 3418747 on 2017/05/02 by Steve.Robb Fix for const pointer properties. Fix for UHT debugging manifest. Test added for pointer properties. Change 3420477 on 2017/05/03 by Gil.Gribb UE4 - Removed check from windows async IO layer. [CL 3421020 by Ben Marsh in Main branch]
2017-05-03 14:18:32 -04:00
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) Cancelled"), Block.OffsetAndPakIndex, Block.OffsetAndPakIndex + Block.Size);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
ClearBlock(Block);
}
else
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
Block.Memory = Memory;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(Block.Memory && Block.Size);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
BlockMemory += Block.Size;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(BlockMemory > 0);
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.Size > 0);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
INC_MEMORY_STAT_BY(STAT_PakCacheMem, Block.Size);
if (BlockMemory > BlockMemoryHighWater)
{
BlockMemoryHighWater = BlockMemory;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
SET_MEMORY_STAT(STAT_PakCacheHighWater, BlockMemoryHighWater);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
#if 0
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static int64 LastPrint = 0;
if (BlockMemoryHighWater / 1024 / 1024 / 16 != LastPrint)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
LastPrint = BlockMemoryHighWater / 1024 / 1024 / 16;
//FPlatformMisc::LowLevelOutputDebugStringf(TEXT("Precache HighWater %dMB\r\n"), int32(LastPrint));
UE_LOG(LogPakFile, Log, TEXT("Precache HighWater %dMB\r\n"), int32(LastPrint * 16));
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
Block.Status = EBlockStatus::Complete;
AddToIntervalTree<FCacheBlock>(
&Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
Block.Index,
Pak.StartShift,
Pak.MaxShift
);
TArray<TIntervalTreeIndex> Completeds;
for (int32 Priority = AIOP_MAX;; Priority--)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (Pak.InRequests[Priority][(int32)EInRequestStatus::InFlight] != IntervalTreeInvalidIndex)
{
MaybeRemoveOverlappingNodesInIntervalTree<FPakInRequest>(
&Pak.InRequests[Priority][(int32)EInRequestStatus::InFlight],
InRequestAllocator,
uint64(Offset),
uint64(Offset + Block.Size - 1),
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, &Completeds](TIntervalTreeIndex RequestIndex) -> bool
{
if (FirstUnfilledBlockForRequest(RequestIndex) == MAX_uint64)
{
InRequestAllocator.Get(RequestIndex).Next = IntervalTreeInvalidIndex;
Completeds.Add(RequestIndex);
return true;
}
return false;
}
);
}
if (Priority == AIOP_MIN)
{
break;
}
}
for (TIntervalTreeIndex Comp : Completeds)
{
FPakInRequest& CompReq = InRequestAllocator.Get(Comp);
CompReq.Status = EInRequestStatus::Complete;
AddToIntervalTree(&Pak.InRequests[CompReq.GetPriority()][(int32)EInRequestStatus::Complete], InRequestAllocator, Comp, Pak.StartShift, Pak.MaxShift);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
NotifyComplete(Comp); // potentially scary recursion here
}
}
}
bool StartNextRequest()
{
if (CanStartAnotherTask())
{
return AddNewBlock();
}
return false;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool GetCompletedRequestData(FPakInRequest& DoneRequest, uint8* Result)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
// CachedFilesScopeLock is locked
check(DoneRequest.Status == EInRequestStatus::Complete);
uint16 PakIndex = GetRequestPakIndex(DoneRequest.OffsetAndPakIndex);
int64 Offset = GetRequestOffset(DoneRequest.OffsetAndPakIndex);
int64 Size = DoneRequest.Size;
FPakData& Pak = CachedPakData[PakIndex];
check(Offset + DoneRequest.Size <= Pak.TotalSize && DoneRequest.Size > 0 && DoneRequest.GetPriority() >= AIOP_MIN && DoneRequest.GetPriority() <= AIOP_MAX && DoneRequest.Status == EInRequestStatus::Complete);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
int64 BytesCopied = 0;
#if 0 // this path removes the block in one pass, however, this is not what we want because it wrecks precaching, if we change back GetCompletedRequest needs to maybe start a new request and the logic of the IAsyncFile read needs to change
MaybeRemoveOverlappingNodesInIntervalTree<FCacheBlock>(
&Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
Offset,
Offset + Size - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, Offset, Size, &BytesCopied, Result, &Pak](TIntervalTreeIndex BlockIndex) -> bool
{
FCacheBlock &Block = CacheBlockAllocator.Get(BlockIndex);
int64 BlockOffset = GetRequestOffset(Block.OffsetAndPakIndex);
check(Block.Memory && Block.Size && BlockOffset >= 0 && BlockOffset + Block.Size <= Pak.TotalSize);
int64 OverlapStart = FMath::Max(Offset, BlockOffset);
int64 OverlapEnd = FMath::Min(Offset + Size, BlockOffset + Block.Size);
check(OverlapEnd > OverlapStart);
BytesCopied += OverlapEnd - OverlapStart;
FMemory::Memcpy(Result + OverlapStart - Offset, Block.Memory + OverlapStart - BlockOffset, OverlapEnd - OverlapStart);
check(Block.InRequestRefCount);
if (!--Block.InRequestRefCount)
{
ClearBlock(Block);
return true;
}
return false;
}
);
if (!RemoveFromIntervalTree<FPakInRequest>(&Pak.InRequests[DoneRequest.GetPriority()][(int32)EInRequestStatus::Complete], InRequestAllocator, DoneRequest.Index, Pak.StartShift, Pak.MaxShift))
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
check(0); // not found
}
ClearRequest(DoneRequest);
#else
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
Offset,
Offset + Size - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[this, Offset, Size, &BytesCopied, Result, &Pak](TIntervalTreeIndex BlockIndex) -> bool
{
FCacheBlock &Block = CacheBlockAllocator.Get(BlockIndex);
int64 BlockOffset = GetRequestOffset(Block.OffsetAndPakIndex);
check(Block.Memory && Block.Size && BlockOffset >= 0 && BlockOffset + Block.Size <= Pak.TotalSize);
int64 OverlapStart = FMath::Max(Offset, BlockOffset);
int64 OverlapEnd = FMath::Min(Offset + Size, BlockOffset + Block.Size);
check(OverlapEnd > OverlapStart);
BytesCopied += OverlapEnd - OverlapStart;
FMemory::Memcpy(Result + OverlapStart - Offset, Block.Memory + OverlapStart - BlockOffset, OverlapEnd - OverlapStart);
return true;
}
);
#endif
check(BytesCopied == Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
return true;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
///// Below here are the thread entrypoints
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
public:
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
void NewRequestsToLowerComplete(bool bWasCanceled, IAsyncReadRequest* Request, int32 Index)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
LLM_SCOPE(ELLMTag::FileSystem);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FScopeLock Lock(&CachedFilesScopeLock);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
RequestsToLower[Index].RequestHandle = Request;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
ClearOldBlockTasks();
NotifyRecursion++;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
if (!RequestsToLower[Index].Memory) // might have already been filled in by the signature check
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
RequestsToLower[Index].Memory = Request->GetReadResults();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
CompleteRequest(bWasCanceled, RequestsToLower[Index].Memory, RequestsToLower[Index].BlockIndex);
RequestsToLower[Index].RequestHandle = nullptr;
RequestsToDelete.Add(Request);
RequestsToLower[Index].BlockIndex = IntervalTreeInvalidIndex;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
StartNextRequest();
NotifyRecursion--;
}
bool QueueRequest(IPakRequestor* Owner, FName File, int64 PakFileSize, int64 Offset, int64 Size, EAsyncIOPriorityAndFlags PriorityAndFlags)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
CSV_SCOPED_TIMING_STAT(FileIO, PakPrecacherQueueRequest);
check(Owner && File != NAME_None && Size > 0 && Offset >= 0 && Offset < PakFileSize && (PriorityAndFlags&AIOP_PRIORITY_MASK) >= AIOP_MIN && (PriorityAndFlags&AIOP_PRIORITY_MASK) <= AIOP_MAX);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FScopeLock Lock(&CachedFilesScopeLock);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
uint16* PakIndexPtr = RegisterPakFile(File, PakFileSize);
if (PakIndexPtr == nullptr)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
return false;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
uint16 PakIndex = *PakIndexPtr;
FPakData& Pak = CachedPakData[PakIndex];
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(Pak.Name == File && Pak.TotalSize == PakFileSize && Pak.Handle);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
TIntervalTreeIndex RequestIndex = InRequestAllocator.Alloc();
FPakInRequest& Request = InRequestAllocator.Get(RequestIndex);
FJoinedOffsetAndPakIndex RequestOffsetAndPakIndex = MakeJoinedRequest(PakIndex, Offset);
Request.OffsetAndPakIndex = RequestOffsetAndPakIndex;
Request.Size = Size;
Request.PriorityAndFlags = PriorityAndFlags;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Request.Status = EInRequestStatus::Waiting;
Request.Owner = Owner;
Request.UniqueID = NextUniqueID++;
Request.Index = RequestIndex;
check(Request.Next == IntervalTreeInvalidIndex);
Owner->OffsetAndPakIndex = Request.OffsetAndPakIndex;
Owner->UniqueID = Request.UniqueID;
Owner->InRequestIndex = RequestIndex;
check(!OutstandingRequests.Contains(Request.UniqueID));
OutstandingRequests.Add(Request.UniqueID, RequestIndex);
RequestCounter.Increment();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (AddRequest(RequestIndex))
{
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) QueueRequest HOT"), RequestOffsetAndPakIndex, RequestOffsetAndPakIndex + Request.Size);
}
else
{
UE_LOG(LogPakFile, Verbose, TEXT("FPakReadRequest[%016llX, %016llX) QueueRequest COLD"), RequestOffsetAndPakIndex, RequestOffsetAndPakIndex + Request.Size);
}
return true;
}
void SetAsyncMinimumPriority(EAsyncIOPriorityAndFlags NewPriority)
{
bool bStartNewRequests = false;
{
FScopeLock Lock(&SetAsyncMinimumPriorityScopeLock);
if (AsyncMinPriority != NewPriority)
{
if (NewPriority < AsyncMinPriority)
{
bStartNewRequests = true;
}
AsyncMinPriority = NewPriority;
}
}
if (bStartNewRequests)
{
FScopeLock Lock(&CachedFilesScopeLock);
StartNextRequest();
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool GetCompletedRequest(IPakRequestor* Owner, uint8* UserSuppliedMemory)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
check(Owner);
FScopeLock Lock(&CachedFilesScopeLock);
ClearOldBlockTasks();
TIntervalTreeIndex RequestIndex = OutstandingRequests.FindRef(Owner->UniqueID);
static_assert(IntervalTreeInvalidIndex == 0, "FindRef will return 0 for something not found");
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (RequestIndex)
{
FPakInRequest& Request = InRequestAllocator.Get(RequestIndex);
check(Owner == Request.Owner && Request.Status == EInRequestStatus::Complete && Request.UniqueID == Request.Owner->UniqueID && RequestIndex == Request.Owner->InRequestIndex && Request.OffsetAndPakIndex == Request.Owner->OffsetAndPakIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
return GetCompletedRequestData(Request, UserSuppliedMemory);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
return false; // canceled
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
void CancelRequest(IPakRequestor* Owner)
{
check(Owner);
FScopeLock Lock(&CachedFilesScopeLock);
ClearOldBlockTasks();
TIntervalTreeIndex RequestIndex = OutstandingRequests.FindRef(Owner->UniqueID);
static_assert(IntervalTreeInvalidIndex == 0, "FindRef will return 0 for something not found");
if (RequestIndex)
{
FPakInRequest& Request = InRequestAllocator.Get(RequestIndex);
check(Owner == Request.Owner && Request.UniqueID == Request.Owner->UniqueID && RequestIndex == Request.Owner->InRequestIndex && Request.OffsetAndPakIndex == Request.Owner->OffsetAndPakIndex);
RemoveRequest(RequestIndex);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
StartNextRequest();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
bool IsProbablyIdle() // nothing to prevent new requests from being made before I return
{
FScopeLock Lock(&CachedFilesScopeLock);
return !HasRequestsAtStatus(EInRequestStatus::Waiting) && !HasRequestsAtStatus(EInRequestStatus::InFlight);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
void Unmount(FName PakFile)
{
FScopeLock Lock(&CachedFilesScopeLock);
uint16* PakIndexPtr = CachedPaks.Find(PakFile);
if (!PakIndexPtr)
{
UE_LOG(LogPakFile, Log, TEXT("Pak file %s was never used, so nothing to unmount"), *PakFile.ToString());
return; // never used for anything, nothing to check or clean up
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
TrimCache(true);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
uint16 PakIndex = *PakIndexPtr;
FPakData& Pak = CachedPakData[PakIndex];
int64 Offset = MakeJoinedRequest(PakIndex, 0);
bool bHasOutstandingRequests = false;
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::Complete],
CacheBlockAllocator,
0,
Offset + Pak.TotalSize - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[&bHasOutstandingRequests](TIntervalTreeIndex BlockIndex) -> bool
{
check(!"Pak cannot be unmounted with outstanding requests");
bHasOutstandingRequests = true;
return false;
}
);
OverlappingNodesInIntervalTree<FCacheBlock>(
Pak.CacheBlocks[(int32)EBlockStatus::InFlight],
CacheBlockAllocator,
0,
Offset + Pak.TotalSize - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[&bHasOutstandingRequests](TIntervalTreeIndex BlockIndex) -> bool
{
check(!"Pak cannot be unmounted with outstanding requests");
bHasOutstandingRequests = true;
return false;
}
);
for (int32 Priority = AIOP_MAX;; Priority--)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
OverlappingNodesInIntervalTree<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::InFlight],
InRequestAllocator,
0,
Offset + Pak.TotalSize - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[&bHasOutstandingRequests](TIntervalTreeIndex BlockIndex) -> bool
{
check(!"Pak cannot be unmounted with outstanding requests");
bHasOutstandingRequests = true;
return false;
}
);
OverlappingNodesInIntervalTree<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::Complete],
InRequestAllocator,
0,
Offset + Pak.TotalSize - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[&bHasOutstandingRequests](TIntervalTreeIndex BlockIndex) -> bool
{
check(!"Pak cannot be unmounted with outstanding requests");
bHasOutstandingRequests = true;
return false;
}
);
OverlappingNodesInIntervalTree<FPakInRequest>(
Pak.InRequests[Priority][(int32)EInRequestStatus::Waiting],
InRequestAllocator,
0,
Offset + Pak.TotalSize - 1,
0,
Pak.MaxNode,
Pak.StartShift,
Pak.MaxShift,
[&bHasOutstandingRequests](TIntervalTreeIndex BlockIndex) -> bool
{
check(!"Pak cannot be unmounted with outstanding requests");
bHasOutstandingRequests = true;
return false;
}
);
if (Priority == AIOP_MIN)
{
break;
}
}
if (!bHasOutstandingRequests)
{
UE_LOG(LogPakFile, Log, TEXT("Pak file %s removed from pak precacher."), *PakFile.ToString());
CachedPaks.Remove(PakFile);
check(Pak.Handle);
delete Pak.Handle;
Pak.Handle = nullptr;
int32 NumToTrim = 0;
for (int32 Index = CachedPakData.Num() - 1; Index >= 0; Index--)
{
if (!CachedPakData[Index].Handle)
{
NumToTrim++;
}
else
{
break;
}
}
if (NumToTrim)
{
CachedPakData.RemoveAt(CachedPakData.Num() - NumToTrim, NumToTrim);
Copying //UE4/Fortnite-Staging to //UE4/Dev-Main (Source: //Fortnite/Main/Engine @ 3780923) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3780878 by Nick.Darnell UMG - Providing more information when the compile fails to find a bindable widget. Change 3780855 by Gil.Gribb UE4 - Fixed a linear search in EDL that caused performance problems for very large maps. Saves half the load time in FN-BR. Change 3780803 by Thomas.Sarkanen Dont create animation tasks for skeletal meshes that have no anim instance This avoids some wasted work for non-animated attachments, such as pickaxes #jira FORT-61523 - Don't create anim worker tasks if no AnimBP Change 3780741 by Yenal.Kal #jira FORT-60177 Fixed the bug where the anim branching points (begin and end) may be triggered twice incorrectly. Change 3780663 by Gil.Gribb UE4 - Batching for audio thread commands. Change 3780466 by Ben.Marsh Add error matcher for generic Microsoft errors (eg. 'cl : Command line error D8049 : command line too long to fit in debug record') Change 3779937 by Nick.Darnell UMG - Adding an accessor on UUserWidget to get the owning player state easier, since it's a common operation. Change 3779858 by Sam.Zamani #http use separate "-multihomehttp" instead of "-multihome" for routing http socket #jira FORT-61666 #tests none Change 3779288 by Michael.Trepka Changed FMacConsoleOutputDevice::Serialize to use FString's GetNSString() instead of converting the string using FPlatformString::TCHARToCFString to make it safer in case of garbage text passed in Data #jira FORT-59762 Change 3779062 by Mike.Fricker Merged CL 3731188 and CL 3733311 from //UE4/Dev-Editor. ---- Improve responsiveness of Open Asset dialog. On large projects, there's a noticeable delay when opening and searching/filtering assets. Stopwatch measurements on my machine (seconds for ~122,000 assets): before with this CL ctrl-P 1.4 0.45 search 1.8 0.55 CollectionManagerModule was the main culprit for search/filter slowness. Open Asset delay was due to filtering out plugin content. We were doing a lot of redundant work for what is essentially a read-only operation. Change 3778954 by Nick.Darnell Slate - Making the Horizontal and Vertical analog keys configurable in the navigation config. Tweaking how fast the navigation is with the analog stick, trying to tune the feeling. Change 3778896 by Ben.Marsh Separate FNameEntrySerialized from FNameEntry, rather than deriving from it. It has to be allocated differently, and many fields cannot be shared between the two. #jira Change 3778807 by Ben.Marsh Fix Tencent include paths not registering if workspace directory contains a space. Tencent include paths currently have a trailing backslash, and this is surrounded by quotes if the root directory contains a space. The backslash is interpreted as escaping the trailing double quote. #jira Change 3778686 by Luke.Thatcher Reduced impact of dynamic vertex buffer RHI stall in D3D12 - In most cases we can avoid the stall if the vertex buffer has never been used before. - Only when a buffer has an existing SRV do we need to stall. - Also, delete copy and move constructors of FD3D12ResourceLocation. Moving or copying an instance of this class leads to double free crashes, so this is now a compile error rather than a runtime crash. This saves an average of 2ms frame time in a StW lastperftest replay, with r.screenpercentage 10. #jira FORT-61390 Change 3778679 by Thomas.Sarkanen Fix Linux server crash - dont attempt to run threaded work in a single-threaded environment We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously. #jira FORT-61548 Change 3778591 by Ben.Woodhouse Add build config to FPSChart HTML output #jira FORT-56478 Change 3778175 by ben.marsh Remove code to trigger an ensure on Arxan guards. We already send analytics for this, and don't need this legacy path. There is a large number of incoming ensures with this callstack that are clogging up crash reporter. Will remove all the surrounding code in a later update to a development branch. #jira Change 3777750 by Chris.Gagnon - Slate now supports a CustomBoundary Navigation type wich allows a custom handler if the boundary is hit. - This provides the ability to have normal navigation while within the boundary and the custom function only on the boundary. - This differs from Custom which is a full override of the navigation behavior. Change 3777678 by Bob.Tellez #UE4 Fix a bug that was causing fastpath nodes in non-nativized BPs to not be fastpath Change 3776962 by Bob.Tellez #UE4 Fix warning about missing virtual destructor by making a struct final (like other RHICommands) Change 3776656 by Thomas.Sarkanen Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components This was causing AIs to get stuck in montage playback in some circumstances #jira FORT-61324, FORT-60558 Change 3776655 by Bob.Tellez #UE4 CIS fix after 3776629 Change 3776650 by Bob.Tellez Counting uplugin and uproject files as code changes so UGS will trigger code builds on checkins containing these files Change 3776649 by Nick.Darnell UMG - Fixing a rare crash when destructing a widget in the designer. It's trying to remove widgets from a half garbage collected panel. Change 3776629 by Bob.Tellez #UE4 Using a more efficient data structure for keeping track of visited nodes when verifying EDL. Change 3776328 by James.Golding Add command line option (-statnamedevents) for enabling named events Change 3776024 by Nick.Darnell Slate - Adding an accessor to SSafeZone to get the amount of padding that will be added, given some scale. Change 3775569 by Gil.Gribb UE4 - Fixed bugs with r.DelaySceneRenderCompletion Change 3775543 by Luke.Thatcher [XBOXONE] [~] Remove stall in D3D12 CreateRHIBuffer - Buffer update is enqueued as a task on the RHI thread instead of stalling the RHI thread for the duration of the update. Change 3775488 by Thomas.Sarkanen Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks #jira FORT-61157 - Run anim update on worker, even if not visible Change 3775219 by Bob.Tellez #UE4 Dont SerializeThumbnails when calling savepackage while editoronly data is excluded (cooking). This saves a lot of memory while cooking Change 3774886 by Mike.Fricker Fixed occasional crash when backing out to lobby - Don't force DF data to be updated when the mesh isn't in the world or has no scene interface #jira FORT-60863 Change 3774767 by Ori.Cohen Fix race condition for creating statid in test configs Change 3774682 by Bob.Tellez #UE4 Don't bother clearing cached platform data during shutdown purge since there may be a lot of it and it takes a while to destroy it. Change 3774621 by Bob.Tellez #UE4 Move Tree rebuilding during cook from Serialize to PreSave to avoid building the tree multiple times for a single platform. Also properly clear out CacheMeshExtendedBounds. Change 3774201 by Gil.Gribb UE4 - Fixed rare crash caused by unmounting pak files. Change 3773920 by Gil.Gribb UE4 - Added experimental option r.StartPrepassParallelTranslatesImmediately which allows the parallel translate tasks from the prepass to start before we init shadows. Disabled by default. Change 3773896 by Thomas.Sarkanen Push non-rendered anim updates back onto the worker thread Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation). #jira FORT-61157 - Run anim update on worker, even if not visible Change 3773886 by Gil.Gribb UE4 - Reduced r.RHICmdMinCmdlistForParallelSubmit from 2 to 1. Change 3773882 by Gil.Gribb UE4 - Improved profiler markers when they are used without stats to cover the task graph and some things related to the parallel renderer. Change 3773461 by Gil.Gribb UE4 - Increased the granularity of the ParallelFor blocks for greater load balancing. Change 3773459 by Gil.Gribb UE4 - Adds TLS caches for MallocBinned2 to the Audio thread. Change 3773458 by Gil.Gribb UE4 - Added an experimental option to do the slate render before waiting for the rendering tasks. Change 3773011 by Robert.Manuszewski Header (uasset) and export (uexp) files will now be compared seperately when running cook commandlet with -diffonly to avoid situations where a mismatch in size of the header produces more differences between exports. + Renamed ini setting to ignore header differences from SkipHeaderDiff to IgnoreHeaderDiff Change 3772867 by Thomas.Sarkanen Nativization now correctly generates and builds code for "Client" builds Overall this is a bunch of hacks, but necessary for nativization to work at present. Once the cooker and UAT both have a concept of "Client" targets, this can be implemented properly. Instead of building to a "Client" directory, we build to "Game" for client-only platforms (like PS4, XboxOne) Also we need to add "Client" targets to the whitelist for the nativized assets plugin, as UBT still thinks it is building for "Client" #jira FORT-52823 - Nativizing Player Animation Blueprints Change 3772408 by Robert.Manuszewski Cook commandlet will now report full property name when running a diff against the existing cook (-diffonly) Change 3772359 by Thomas.Sarkanen Improvements to the Cpp backend to allow VC++ to compile nativized code more effectively Added a new scoped helper to wrap areas of the code in PRAGMA_DISABLE_OPTIMIZATION. This helps with functions that are large tables or long lists of initializations. Split anim node initialization up into functions, called from a seperate function dedicated to initializing anim nodes. This splits the 5k+ line constructor into mutiple smaller functions, which the compiler has no problems with. Overall (along with splitting up the anim BP into functions in the asset) this reduces compilation time for the worst-case compilation unit from ~11m 40s to ~2m 32s. #jira FORT-52823 - Nativizing Player Animation Blueprints Change 3771975 by Zak.Middleton Fix character proxies doing up to two floor check when only rotation changes. Add some optional verbose logging to FindFloor() and ComputeFloorDist(). #jira FORT-61134 Change 3771421 by Ori.Cohen Fix CIS Change 3771052 by Robert.Manuszewski Package diff improvements (-diffonly mode for cooker). Exposed max diffs to report to ini and added the ability to suppress header differences reporting as they are usually a result of differences in exports anyway. Change 3771039 by Bob.Tellez #UE4 Allowing use of -FPS in PGO profile builds Change 3770747 by Ori.Cohen Added missing stat named events for anim bp Change 3769616 by Arciel.Rekman UBT: Use response files for compiler when compiling for Linux. - Some command lines are too long when cross-compiling on Windows, which is a problem for non-unity builds (or local changes that result in exclusion of checked out files from the lumped units). Change 3769457 by Gil.Gribb UE4 - Added eviction to r.DoLazyStaticMeshUpdate. It just removes 10 prims a frame in a rolling fashion. Change 3769136 by Michael.Noland Engine: Improve IsServerDelegateForOSS to allow it to use the play world during PIE even if no context was passed in Change 3768736 by Robert.Manuszewski More debug info for ensure in FLinkerSave when a name that has not yet been mapped is being serialized #jira FORT-60943 Change 3768634 by Robert.Manuszewski Small optimization to FEDLCookChecker::Verify function Change 3768603 by Robert.Manuszewski Merging CL #3766740 by Steve.Robb TMultiMap::Append added. Change 3768586 by Ben.Woodhouse csv profiler screen message Change 3768506 by Thomas.Sarkanen Duplicating CL 3764661 from Paragon: Only update Children attached to Sockets in USkeletalMeshComponent::PostBlendPhysics(). Saves ~20% of STAT_UpdateChildTransforms and ~10% of STAT_UpdateLocalToWorldAndOverlaps in 5ofEach_Dusk_vs_Dusk automation test. #jira OR-46341 #tests LaneMinionFXTests, monolith w/ full teams. Change 3768504 by Thomas.Sarkanen Duplicating CL 3758315 from Paragon: Optimized PostAnimEvaluation when URO is skipping a frame with no interpolation. Skip unnecessary work. PreEvaluateAnimation() is now only called if we're about to evaluate anims. PostEvaluateAnimation() is also called only if we have evaluated animations. Therefore PostEvaluateAnimation() has been pulled inside of PostAnimEvaluation() instead of FinalizeTransforms. Added a call to ConditionallyDispatchQueuedAnimEvents() in the event that we're not calling PostBlendPhysics because we have not evaluated or interpolated anims. Added missing call to PostEvaluateAnimation() for PostProcessAnimInstance. #jira OR-46341 #tests minion FX perf map, lane minion test map, monolith match with 2 full teams. Change 3768097 by Bob.Tellez #UE4 Fix non-editor CIS Change 3767957 by Bob.Tellez #UE4 Fix an issue that was causing FullLoadAndSave to fail to cache platform data for textures that were created by landscape on mobile and another issue that caused parallel saving to fail in landscape (when cooking for mobile targets) Change 3767906 by Mike.Fricker Add Blueprint functions to query parameters from MIC - GetScalarParameterValue - GetTextureParameterValue - GetVectorParameterValue MIDs already had these functions, but MICs did not. Change 3767737 by Max.Preussner Engine: Fix for external textures referenced by a material before being associated with a media player never having their uniform expressions recached #author jack.porter #jira FORT-59777 Change 3767735 by Bob.Tellez #UE4 Setting Opened to false in FOutputDeviceFile::TearDown so if the device file gets initialized again it will do the same initialization logic as the first time. #jira FORT-60918 Change 3767244 by Ethan.Geller #jira FORT-60885 Merge in fix for memory leak from 4.18.1. Change 3766567 by Marc.Audy Fix initialization ordering warnings Change 3766443 by Jian.Ru Submit PSO locking fix again as it has passed local tests Change 3766362 by Ori.Cohen Added the ability to get concurrent captures in Test configurations without having to turn full stats on Change 3766277 by Marc.Audy Shrink Skinned and Skeletal Mesh Component, FBodyInstance, and UBodySetup Change 3766275 by Marc.Audy Better pack UTexture* classes Change 3766272 by Thomas.Sarkanen Fixes to enable auto-nativization for animation blueprints For blend profiles in particular, I've added subobject support to the fake import table building for nativized assets: - In FEmitterLocalContext::FindGloballyMappedObject, if we dont find the referenced asset then we traverse the object's outer chain if it is a subobject. We add it to UsedObjectInCurrentClass if we find its outer. - Updated the structure used to build the fake import table to include a specified outer. Beforehand we assumed that all objects referenced by the import table were 'top-level'. - Updated the fake import table building code in FLinkerLoad::CreateDynamicTypeLoader() to use the new specified outer if found. This asserts if it couldnt find the outer in the already-parsed dependencies (as it reverse-iterates). If in the general case thius turns out to be a problem we can move this to a two-pass system. Disabled fast-path optimization when running a native anim BP, as native code is faster! #jira FORT-52823 - Nativizing Player Animation Blueprints #jira FORT-57378 - Perf optimization: animation blueprint improvements Change 3766215 by Marc.Audy Shink FFromatContainer from 88 bytes to 24 by storing in TSortedMap instead of TMap Change 3765664 by Michael.Noland Engine: Add support for sets to FJsonObjectConverter::JsonValueToUProperty Change 3765624 by Marc.Audy Create helper macro in Archive.h for encapsulating needed steps for serializing a bitpacked boolean Change 3765200 by Nick.Darnell Slate - Fixing a memory leak in the invalidation panel. It never cleared out the cached textures and materials it kept alive during retention. Change 3764881 by Wes.Hunt Fix FApp::Get/SetIdleTimeOvershoot. It was overwriting IdleTime, which made FrameTimeWithoutSleep look like FrameTimeWithSleep. #jira FORT-60585 #review-3764882 @arciel.rekman Change 3763872 by Max.Chen Sequencer: Set default completion mode for all sections to project default. Copy from Dev-Sequencer #jira UE-49480 Change 3763871 by Max.Chen Sequencer: Add config for default completion mode for movie scene sequences. The default for level sequences is RestoreState. All others, such as UMG are set to KeepState. Copy from Dev-Sequencer #jira UE-49480 Change 3763810 by Gil.Gribb UE4 - remove some init timing spew in programs (i.e. UHT) Change 3762939 by Robert.Manuszewski Removing all locks from FEDLCookChecker to improve SavePackage performance Change 3762851 by Bob.Tellez Duplicating CL#3740778 from //UE4/Dev-Editor Fixed issue with content browser column sorting #jira UE-49460 Change 3762660 by Bob.Tellez #UE4 Fix a few parallelsave threading problems. Change 3761861 by Marc.Audy Fix archive complaints about bitfield Change 3761802 by Marc.Audy Pack FTimeline, FHitResult, FAnimUpdateRateParameters, FMeshBuildSettings Change 3761299 by Matt.Kuhlenschmidt Fix levels not being lockable/unlockable if they are not checked out #jira FORT-60086 Change 3760422 by Bob.Tellez #UE4 Stop caching or clearing platform data when saving concurrently. This was causing threading problems in materials. Change 3760113 by Jian.Ru Back out changelist 3759715 as it causes a crash on UGS autotest Change 3759761 by Jian.Ru Clean up some debug comments Change 3759715 by Jian.Ru Removing excessive locking when accessing PSO caches. Change 3759285 by Nick.Darnell Editor - Fixing the length of the datatable row dropdown in the editor. Change 3758334 by Alexis.Matte Fix a crash when importing morph target there was a unsync between some buffer depending on the import options #jira UE-52319 Change 3758332 by Ben.Marsh Fix output subfolder being appended twice when generating project files. Causes incorrect command line when launching from Visual Studio. #jira Change 3758215 by Brian.Bekich Make Tint property of FSlateBrush NotReplicated now that it is WITH_EDITORONLY_DATA so that cooked clients can connect to uncooked servers Change 3757702 by Bob.Tellez #UE4 Fix -NoConcurrentSave cook option in FullLoadAndSave Change 3757545 by ben.marsh Suppress Arxan warning about being unable to install a default guard at it's default location. Change 3757452 by Aaron.McLeran #jira FORT-59675 Client Crash in __delayLoadHelper2() Fixing build error on linux. Change 3757389 by Hongyi.Yu Fixed the crash in UEditorEngine::CheckForWorldGCLeaks() when load a level (level A), PIE, load a sublevel of level A and then load another level. #jira FORT-58283 Change 3757229 by Aaron.McLeran #jira FORT-59675 Client Crash in __delayLoadHelper2() Change 3757077 by Max.Preussner MediaAssets: Fix for media texture crashing if media player is generated from GC clustered blueprint #jira FORT-59774 #jira UE-51943 #tests none Change 3756854 by Mike.Fricker Fix "double-delete" crash when using level streaming - Backed out unintentional network checksum change! Change 3756790 by Bob.Tellez #UE4 Fix inconsistency with how FSoftObjectPtr case is managed between FLinkerSave and FArchiveSaveTagImports, which would cause a cook ensure under some circumstances Change 3756639 by Arciel.Rekman Pool memory (only 64KB allocations) on servers (FORT-60342). - Has a fixed cost of 1GB virtual memory usage. #jira FORT-60342 Change 3755995 by Alexis.Matte Fix crash when importing morph target with "built in" tangent option #jira UE-52319 Change 3755896 by Arciel.Rekman Remove unnecessary switch for profiling (part of FORT-58878). - -fno-omit-stack-pointer is only needed when getting callstacks for perf. #jira FORT-58878 Change 3755711 by Mike.Fricker Fix "double-delete" crash when using level streaming - Initialize network GuidCache entries as soon as Guids are registered on the server so that we can fill them out with valid information before the object is destroyed. Fixes issues when a guid is exported for the first time to send a destroy to clients. (from RyanG) Change 3755701 by David.Ratti FObjectReplicator no longer a GCObject since adding/removing from the global GCObject list is too slow. Managing FObjectReplciators's object references at the NetDriver level now. #jira FORT-60317 #review-3755702 @Ryan.Gerleve Change 3754928 by Arciel.Rekman Linux: add LTO support and more. - Adds ability to use link-time opitimization (reusing current target property bAllowLTCG). - Supports using llvm-ar and lld instead of ar/ranlib and ld. - More build information printed (and in a better organized way). - Native scripts updated to install packages with the appropriate tools on supported systems - AutoSDKs updated to require a new toolchain (already checked in). - Required disabling OpenAL due to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219089 #jira FORT-58878 Change 3753986 by Ben.Zeigler #jira UE-45505 Fix issue where FCoreUObjectDelegates::OnAssetLoaded was being called from an inner loop inside EndLoad. Maps would register components from that callback, and if those registers started their own loads, those objects would be returned in a partially loaded state. We now defer the asset loaded callback to the very end of the loop so recursive loads work properly Change 3753274 by Ben.Marsh Fix blank lines in errors and warnings being omitted from notification emails. #jira Change 3753175 by Thomas.Sarkanen Fix hang in animation editor menus Sound waves were being loaded by the visibility delegate for the 'play' button overlay. This caused major hangs as the ogg compressed data was built on the fly. Handled the unloaded asset case in the various delegates. Also made the menu larger, as picking a sound wave was all but impossible when you couldnt even see one in the list. #jira UE-52271 - Persona menu option locks up editor Change 3752887 by Nick.Darnell Slate - Adding automatic invalidation to a few more widgets that were found lacking when adding or removing children. Change 3752785 by Marc.Audy Avoid doing any work to evaluate streaming volumes if there are no player controllers using streaming volumes Change 3752185 by Ben.Marsh Reduce cook time regression caused by correcting package names to match case on disk (to fix deterministic cooking problems). Switched to use IPlatformFile::GetFilenameOnDisk(), and improved performance of FWindowsPlatformFile::GetFilenameOnDisk() by using GetFinalPathNameByHandle() instead of recursively searching up the directory tree. #jira Change 3751813 by Ben.Marsh Improve parsing of diagnostics for deterministic cooking test. Now allows multiple lines in the generic EC error/warning matcher if indented more than the first line, and skips over empty lines. #jira Change 3750413 by Ben.Zeigler Fixes for cook save performance regressions. Add GetAllMarks to object and use that to dramatically reduce contention for the object mark annotation. Implement ShouldLoadForServer/Client directly on some core classes to stop it from calling the slow generic one Fix issue where refreshing tags for asset registry would do a very slow array delete/add Improve speed of redirectcollector, there's no need to force-rehash the soft object path list as the remove handles it conditionally Change 3750014 by Lina.Halper - duplicate change from following changelists CL 3669273 - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. CL 3672170 Remove track support for Animation Blueprint Library This is required for facial pose retargeting Change 3749714 by Brian.Bekich Back out changelist 3748287 #jira FORT-60125 Change 3749377 by Robert.Manuszewski Improved log formatting for reporting deterministic cook issues. #jira FORT-59919 Change 3749360 by Robert.Manuszewski Improved performance of -diffonly mode for cook commandlet for assets with hundreds of thousands of differences. #jira FORT-59919 Change 3748746 by Hongyi.Yu Fixed compiling error in Automation project #jira FORT-59621 Change 3748530 by Mike.Fricker Fixed non-determinism of landscape grass across platforms/compilers This causes bushes to be located in different places depending on what platform you were playing on. 1) Random number reseeds were happening as part of function arguments to FVector(), but function argument evaluation order is unspecified, and behaved differently on Consoles/Mac/Windows. Fixed this bug. 2) Strings used for foliage CRCs could use different character sizes on different platforms. Now we always use ANSI. 3) Strings used for CRCs could have possibly have different case. Now forced lowercase. #jira FORT-60109 Change 3748471 by Zak.Middleton Added stats to NetDriver TickFlush and stats gathering within that function. Change 3748287 by Brian.Bekich Adding net.MaxStringSerializationSize to cap maximum string read from network, default to 4096, used by FNetBitReader Deprecating MAX_STRING_SERIALIZE_SIZE in favor of the cvar FInBunch defaults to prior behavior if cvar is 0 UPackageMap::SerializeName and UPackageMapClient::SerializeNameAsString will always cap at NAME_SIZE Check for path name serialization error before tryng to read checksum #jira FORT-57974 Change 3747980 by Bart.Hawthorne In Oodle, only generate and write dictionaries on Windows, Mac, and Linux Change 3747642 by Gil.Gribb Fix CIS Change 3747635 by Zak.Middleton Avoid string alloc on every ServerMove() call on the server. Change 3747560 by Gil.Gribb UE4 - Fixed XBox and Windows thread priorities. Only 2 though -2 seem usable and some of the old values were being ignored. Change 3747548 by Gil.Gribb UE4 - Changed thread pool to be TPri_SlightlyBelowNormal so that they will not preempt HP task graph tasks. Change 3747544 by Bart.Hawthorne When detecting if Oodle is installed, use the newest version instad of the oldest one. Change 3746440 by Robert.Manuszewski Dterministic cook issues reporting improvements - Huge performance improvements - Added new metric to the summary: NumberOfDifferencesInPackages - Diff stats have their own section now (Package.Diff) - When running with -diffonly there commandlet will not log the Warning/Error summary anymore - Callstacks are no longer logged with instruction addresses - Because callstacks are no longer logged with addresses I can collapse them for structures that otherwise would be split into multiple separate callstacks - Callstacks, Serialized Object and Serialized Property are now indented - Each asset is capped at 5 entries. If there's more differences, they'll be logged as single warning. - Replaced \r\n with \n in the callstack log to make it work better with EC #jira FORT-59919 Change 3746426 by Gil.Gribb UE4 - Tuned dispatch in the deferred renderer. Added r.DoPrepareDistanceFieldSceneAfterRHIFlush and defaulted it to on. Change 3746348 by Mike.Fricker Added new CVars to toggle level streaming behavior - No effective change to engine yet. The defaults values enable the same default behavior. - New CVar: "s.ForceGCAfterLevelStreamedOut" (Whether to force a GC after levels are streamed out to instantly reclaim the memory at the expensive of a hitch.) - New CVar: "s.ContinuouslyIncrementalGCWhileLevelsPendingPurge" (Whether to repeatedly kick off incremental GC when there are levels still waiting to be purged.) - New CVar: "s.AllowLevelRequestsWhileAsyncLoadingInMatch" (Enables level streaming requests while async loading (of anything) while the match is already in progress and no loading screen is up) Change 3746127 by Gil.Gribb UE4 - Slight tweak to more agressively batch occlusion queries. Change 3746111 by Cecil.McRae Change 3745681 by Bob.Tellez #UE4 Prevent attempting to execute a remote process to get the metal shader compiler version if no remove process machine has been configured. (Fixes a warning) Change 3745631 by Matt.Kuhlenschmidt Fix details panel crash after compiling blueprints that have edit conditon properties Change 3744544 by Gil.Gribb UE4 - Downgraded a fatal error to a warning. Example: Found package without a linker, could find SceneComp in /Game/AIDirector/AIDirector_Fortnite, but somehow wasn't finished loading. This is a sort of cook mismatched caused by the fact that all PS4 cooks have server-only data in them. #jira FORT-59879 Change 3744419 by Matt.Kuhlenschmidt Fix opening color picker causing values to change. Was due to conversion between srgb and linear color. Change 3744270 by Ben.Marsh Merging change to include deterministic cooking summary from Dev-Core (CL 3743182). #jira FORT-59919 Change 3743621 by Guillaume.Abadie Fixes subsurface profile fallback to lit shading model when Opacity == 0, introduced by 3447144. #jira UE-51569 Change 3743403 by Gil.Gribb UE4 - Merged lockfree / taskgraph fix from //UE4 (CL 3732262) Change 3743392 by Gil.Gribb Merged IO fixed from //UE4 (CL 3641155) Change 3743376 by Gil.Gribb UE4 - Added r.WarningOnRedundantTransformUpdate to produce warnings on redundant transform updates. Change 3743372 by Gil.Gribb UE4 - Added a stat for distance field verification...which takes a very long time, but does not affect test or shipping config. Change 3743030 by Bob.Tellez #UE4 Revert some code the was accidentally merged to UE4Main #jira UE-52032 Change 3742611 by Josh.Markiewicz #UE4 - fix for crash in destructor probably related to the freeing of memory via default destructors AFTER CefShutdown() has been called #tests crashes before, no crash after (not sure if it was a 100% crash but this seems better regardless) Change 3742187 by Nick.Darnell Slate - Adding a new optional parameter to direct routing for the widgets under the cursor in Slate Application. Essentially ProcessReply occasionally needs to know the widgets under the cursor, the previous implementation, just used the routing path, this results in missing sending mouse leave messages to widgets under the cursor when dragging begins, which often left things with hover effects in bad states. Change 3742053 by Michael.Trepka Copy of CL 3713881 Added -buildscw to Mac Build.sh script to build ShaderCompileWorker in addition to the requested target. Xcode passes it to the script when building non-program targets. #jira UE-31093 Change 3742050 by Michael.Trepka Copy of CL 3711085 Reenabled UBT makefiles on Mac Change 3741924 by Josh.Markiewicz #UE4 - delete EpicSurvey module - working toward engine/plugins/online removal from game branch Change 3741865 by Nick.Darnell UMG - Fixing a High DPI bug that wasn't scaling the offset for DragDrop widgets when using In-Window rendering that games depend on for DragDrop effects. Change 3741442 by Ryan.Gerleve Fix initialization order warnings Change 3741370 by Ryan.Gerleve Back out changelist 3689397. The memcpy in one of the FInBunch constructors is not portable and causes this change to break networking on Android. Change 3740914 by Peter.Knepley Restore player name obsfuscation Change 3740828 by Marc.Audy Dynamically create FKey if the char code is unknown #jira FORT-59735 Change 3740811 by Ben.Marsh UAT: Fix double-spacing of lines output by Utils.RunLocalProcess, and use a non-local function to output them for more readable logs. #jira Change 3740328 by Bob.Tellez #UE4 Fix FullLoadAndSave cook method Change 3740327 by Bob.Tellez #UE4 Minor movie scene cooking improvements Change 3740280 by Bob.Tellez #UE4 Fix shipping config CIS Change 3740232 by Bob.Tellez #UE4 Gave OodleHandlerComponent a short name so it doesnt hit maxpath length issues on build machines. Change 3740209 by Nick.Darnell UMG - Finishing the ability to add a "Custom" method for Navigation. Currently the editor implementation leaves me wanting, but it works for now. You can put the name of a function to call (needs to match a signature that returns a UWidget). Change 3740207 by Nick.Darnell Slate - Navigation attempts when the user claims they are doing custom or explicit, if those methods don't return a valid widget, we don't treat it like the attempt failed and fallback to default navigation methods. Instead we use it as a trigger to indicate that no navigation should occur and treat it like a stop. Change 3740189 by Bob.Tellez #UE4 Fix mouse cursor position being set when hovering over the viewport in windowed mode despite not having focus Change 3740171 by Marc.Audy Fix merge issue causing compile error for AutomationTool Change 3739270 by Ben.Woodhouse Use background task graph affinity on platforms that implement it (e.g. XB1). Saves 8ms on GC spikes and ~0.5ms on the renderthread #jira FORT-56961 Change 3739244 by Ben.Woodhouse -statunit commandline option Change 3738920 by peter.knepley Fix issue where simulated proxies had bad crouch state when re-entering relevancy Change 3738904 by Gil.Gribb UE4 - Moved audio decompression tasks to the background thread pool. Controlled by a cvar AudioThread.UseBackgroundThreadPool, which defaults to 1. Change 3738378 by Ori.Cohen Added better profiling for scene query hitches Change 3736984 by Ben.Woodhouse Dummy merge: Accept main version of windowsrunnablethread.h, so Windows gets the new priorities #jira FORT-56700 Change 3736754 by Zak.Middleton Remove engine hacks of K2_SetActorLocation etc for pending engine merge. Will replace with delegates on transform updates for relevant classes. Change 3736282 by Hongyi.Yu Don't check target file while doing iterative shared prebuild cooking. #jira FORT-58911 Change 3736109 by Michael.Trepka Updated FMallocLeakDetectionProxy to not use a critical section internally on top of thread safety measures performed by FMallocLeakDetection and the underlying FMalloc implementation. The improvements are biggest on Mac, in particular in low framerate situations, as Metal RHI uses malloc heavily on multiple threads, but it's also a nice 10% improvement on a high end PC. #jira FORT-55309 Change 3735765 by Ben.Woodhouse Fix GTSynctype logic when vsync is disabled. This was breaking profiling Change 3734436 by Marcus.Wassmer More reliable Aftermath data. #jira FORT-45518 Change 3734103 by Bob.Tellez #UE4 Exposing GetRefPosePosition on SkinnedMeshComponent to BPs Change 3733985 by Saul.Abreu #jira FORT-58816 "Special case zero-width space in the text shaper to avoid fonts rendering the fallback glyph" - Jamie Dale Needed to workaround an issue with guillemets (weird arrow quotes). Change 3733922 by Brian.Bekich Setting max serialization size in FNetBitReader to prevent runaway string reads from replicated object paths Check for path name serialization error before tryng to read checksum #jira FORT-57974 Change 3733850 by Max.Chen Sequencer: Return unhandled only if not dragged. This fixes a bug where dragging in the track area would sometimes leave the handled state with the time slider controller and not allow you to pop up a menu with the movement tool. #jira FORT-56092 Change 3733299 by Ethan.Geller #jira FORT-58943 Handle corner cases for repeated calls to precache buffers. Change 3732907 by Gil.Gribb UE4 - Removed slow HLOD code from frustum cull loop and set things up at AddPrim time instead. Saves 1-3ms. Change 3732728 by Robert.Manuszewski Fixing a crash when dumping stats with massive callstacks #jira FORT-58901 Change 3732438 by Marc.Audy When a client informs the server that it has loaded a streaming level force a net update on all dormant actors that have at one point replicated data to relevant clients and ensure that the connection's destroyed startup/dormant actors list is properly populated. #jira FORT-56997 Change 3730413 by Lukasz.Furman fixed PlayerName encryption key #jira FORT-59066 Change 3729588 by Bob.Tellez #UE4 Only calling FixupData on load. Fixes crash during parallel saving. Change 3729475 by Marc.Audy Fix missing ; Change 3729444 by Marc.Audy Fix cases where GetWorld() being called multiple times per function Change 3729143 by Hongyi.Yu Added support to extract pak files to mount point. - Extract with "-ExtractToMountPoint" when extracting pak in DiffCookedContent() #jira FORT-58635 Change 3728981 by Nick.Darnell Slate - Fixing a bug with Slate turning on statid tracking even when the slate verbose stats are not being used. Change 3728838 by Zak.Middleton Compile out GetWorld() call in check() in Test and Shipping builds, to avoid skewing profiling. Change 3728604 by Jian.Ru Submit one render command rather than many in FScene::UpdateParameterCollections Change 3728434 by Marc.Audy PostSignificance should always fire when unregistering regardless of whether this is the last object in the tag. Change 3728427 by Gil.Gribb UE4 - reduce stat overhead when not collecting stats. Change 3728197 by Marc.Audy Properly call post significance on initial registration if the post significance type is sequential Change 3726266 by Gil.Gribb UE4 - Force HISMC trees to rebuild during cook. This allow us to change parameters without resaving maps. Change 3724501 by Marc.Audy Fix initialization order Change 3724411 by Ben.Woodhouse Point light shadow rendering optimization - Made per-triangle culling take Z into account. In FortGPUTestbed (with grass shadow casting enabled), GSVerticesOut reduced from 464k to 234k. On xbox one, a pointlight GPU cost reduced from 6.7 to 4.1ms. On PS4, GPU cost went from 2.3 to 1.9ms. #jira FORT-58921 Change 3724367 by Chad.Garyet Downgrading lock warning about still waiting to a message instead of a warning. Change 3723903 by Max.Preussner MediaAssets: Merged workaround for uninitialized media sound waves from 4.17 #jira FORT-57260 Change 3723134 by Lukasz.Furman added deprecation for PlayerState.PlayerName, it should remain accessible only through Get/Set functions to control obfuscation Change 3722955 by Jian.Ru Fix a compilation warning #jira FORT-58749 Change 3722667 by Luke.Thatcher [BUILD] [!] Fix PGO failures on build machines. - The strings "Failed" and "error" are always treated as build failures, even if the build task returns a success code. - Failure to reserve a device should not be fatal. #jira FORT-58001 Change 3722291 by Lukasz.Furman restored public access to PlayerName for now, current code will be going through accessor Change 3721012 by Alicia.Cano chunk title file generation #jira FORT-53605 Change 3720961 by Marcus.Wassmer Fix bad UVDensities on objects causing texture streaming to fail. Better fix will come with the engine merge. #jira FORT-58240 Change 3719318 by Lukasz.Furman replaced old branch name assertions Change 3719047 by Lukasz.Furman added branch name assertion to core headers to avoid duplicating it Change 3718499 by peter.knepley Fix for a crash when calling FSlateApplication::Get().FindPathToWidget in response to a widget destructing. Widget must be invalidated before the reference is cleared or else someone else might assign a shared reference to it during destruction. Change 3716965 by Alicia.Cano No sound was playing for Android. #jira FORT-58302 #android Change 3715746 by Ben.Marsh Hide Arxan warnings about PDB files not being present. #jira Change 3715172 by Bob.Tellez #UE4 FullLoadAndSave now does SavePackage in parallel. Change 3715055 by Bob.Tellez #UE4 Fix to actually use the precached streaming audio DDC data when cooking. Change 3714130 by Bob.Tellez #UE4 Core changes to allow SavePackage to be done concurrently Change 3714099 by Bob.Tellez #UE4 Pull the logic to initialize and uninitialize the physics scene for a world out into separate functions Change 3713145 by Ben.Marsh Disable an Arxan warning in EC. #jira FORT-56926 Change 3712904 by Ben.Woodhouse Fix for gpu profiler crash on pre-maxwell nvidia (or when r.gpuprofiler is set to false) Change 3712693 by Ben.Woodhouse Workaround for PS4 flip thread crash in dev builds. Caused by the flip thread/offset threads being shutdown before being initialized. The high level logic is now robust to that. We should fix the PS4 RHI ideally, but this is simpler for now. #jira FORT-58409 Change 3712544 by Ben.Woodhouse add missing skylight diffuse gpu stat Change 3712515 by Ben.Woodhouse CSV profiler GPU and pre-declared stat support - refactor the GPU profiler so it's no longer dependent on the stats system and can work in Test builds - add support for pre-declared CSV stats, using FNames (these are required for GPU stats) - add DECLARE_GPU_STAT macro which handles STATS and CsvProfiler declarations Note: still a few issues to resolve with GPU stats: these randomly go to 0 at times during a replay on XB1, the GPU total is lower than the stat unit number, and the unaccounted stat is too large due to missing stats Change 3712297 by Mike.Fricker Fixed huge client hitch when applying changes to in-game options - Every component was being re-registered when r.SimpleForwardShading was updated by the scalability system, even if the value hadn't changed. Now, it only re-registers components if the value changes on the fly. (e.g. when turning Shadows off or on PC) #jira FORT-57661 Change 3711501 by Ben.Marsh Fix build failure on Linux. #jira Change 3710962 by David.Ratti Add SCOPE_CYCLE_UOBJECT for SourceObject of GE - this will tell us what weaponw as applying the GE Change 3710602 by Marc.Audy Only create MIDs as a child of the calling object if construction script is running Change 3710421 by Ben.Woodhouse Bring over a couple of XB1 rendering fixes from 4.18 3692692: Integrate XB1 translucent lighting fix 3674543: D3D12 : Fix bug with non-CS version of UpdateTexture3D caused by bad depthstride. This was causing corruption in the indirect lighting cache #jira UE-49416 Change 3710338 by Marc.Audy Fix Json <-> Property converter to handle maps with struct keys Merged from CL# 3521195 #jira UE-46616 Change 3710226 by Bob.Tellez #UE4 Increase TaskGraph stack size in editor builds since. SavePackage uses a deep callstack which exceeds the 384 memory limit Change 3709046 by andrew.grant Added ALLOW_CONSOLE_IN_SHIPPING define that Target.cs files can set to turn on console in shipping builds #jira FORT-57180 Change 3709040 by andrew.grant Fixed issue where this could fail if a messagebox was spawned early during initialization Change 3708830 by Bob.Tellez #UE4 Commandline switches/options are no longer detected when found between quote characters. This causes options from not being incorrectly detected when passed in as a value from another options. i.e. -Option="-log" no longer causes -log to be picked up. This removes the syntax of specifying parameters like "Option=Value", which should now be replaced with -Option="Value" #jira FORT-57833 Change 3708826 by Bob.Tellez #UE4 Removed needless calls to RegisterSerializedShaders in the saving codepath of material serialization. This function is only relevant when loading shaders. Change 3707905 by Ori.Cohen Fix attached skinned mesh never being unhidden due to scale 0 and render tick optimization #jira UE-51485 Change 3706450 by Chris.Bunner Removing illegal material set on decal component in GameplayStatics. Set a related JIRA, this doesn't actually fix the issue but contributes. #jira FORT-51597 Change 3706223 by Marc.Audy Shrink UPackage class size substantially Change 3706221 by Marc.Audy Store CustomVersions in array rather than set Change 3705798 by Bob.Tellez #UE4 ShadowDepthVertexShader.usf fix to fix Mac cook. Change 3705613 by Uriel.Doyon Texture streaming integration from Main. #jira FORT-57376 Change 3705137 by Michael.Trepka Fixed MetalRHI warning when compiling without MALLOC_LEAKDETECTION defined #jira FORT-55309 Change 3704310 by Marcus.Wassmer fix d3ddebug error with shadowcasting pointlights also suppress spammy d3ddebug data about texture debug names #jira FORT-58063 Change 3703477 by Marc.Audy Minor tweak to keep Padding on one cache line. Change 3703449 by Michael.Trepka Don't use parallel RHI execute on Mac if MALLOC_LEAKDETECTION is enabled as this combination affects performance significantly due to mutex locking in FMallocLeakDetectionProxy #jira FORT-55309 Change 3703217 by Marcus.Wassmer Update PS signatures to match VS. Fixes crashes when running witih -d3ddebug which we need to catch real problems #jira FORT-58021 Change 3702926 by Aaron.Eady #JIRA na Engine Code Improvements (that this project doesn't have yet); Added engine code for drawing a debug 2D box. Added engine code that allows for Keyboard Shortcuts to be special characters like backslash \. -- Code -- DrawDebugHelpers: DrawDebugCanvas2DBox() - Added this to allow us to draw debug 2D boxes. RemoteConfigIni: SpecialCharMap - Updated this TCHAR* property to be in the right order so you can use special characters like backslash as keyboard shortcuts. Change 3701976 by Michael.Noland Editor: Rewrote CallInEditor support and promoted it so it can be used on functions in any class, not just blueprints derived from AActor: - CallInEditor used on native UFUNCTION() declarations will now show up without having to make a BP subclass - CallInEditor can now be used as a top-level keyword in the UFUNCTION() declaration (e.g., UFUNCTION(Category=CoolCommands, CallInEditor)) - Now shows each function as a separate button, placed in the category associated with the function - The button strip entry is now searchable by function name or tooltip - Prevented operating on functions that have parameters or return values, which would crash before - Removed the duplicate copies of properties placed in the Blutility section - Added a scoped transaction around CallInEditor execution - Allowed functions to be marked as CallInEditor in addition to custom events (currently we don't allow editing category or tooltip on custom events...) Editor: Moved Experimental/EarlyAccessPreview details customizations up to UObject so it can be used on any class, not just actors/components Edigrating CL# 3374995, 3375121, and 3375308 from Dev-Framework to FN main Change 3700836 by Bob.Tellez Modified commandline parse function, to detect when it is incorrectly parsing a parameter, from within another parameters value (not exhaustive). For example, this commandline only contains the parameter ParamA. It should not be possible to parse ParamB, as it is part of ParamA's value: -ParamA="-ParamB=Value" #jira FORT-57833 Change 3700821 by Bob.Tellez Merging CL#3461205 from //UE4/Dev-Core Fixed parameter parsing so that arguments are not parsed if not preceeded by a whitespace (for example "-Log" was parsed in "TM-Log") #jira UE-33790 Change 3699584 by Chad.Garyet Upping the timeout on symstore to half an hour instead of 15 minutes. Symstore on xbox takes about ~22 minutes and if two builds are going simultaneously it can cause a job to fail due to the timeout being hit. #jira FORT-0 Change 3698692 by Aaron.McLeran #jira FORT-57582 crash in sound mix state code - Removed the assert as it looks like that state is now possible. Change 3698411 by Bob.Tellez #UE4 One last correctness fix for when to not save generated base ini files. #jira FORT-57315 Change 3698390 by Bob.Tellez #UE4 Slightly more accurate logic to prevent writing of base ini files (old logic may have prevented writing of non-base ini files) #JIRA FORT-57315 Change 3698369 by Bob.Tellez #UE4 Ensure that Tcp/Udp messaging plugins are disabled in shipping config Change 3698352 by Bob.Tellez #UE4 Minor additional fix to make sure DISABLE_GENERATED_INI_WHEN_COOKED only affects cooked builds #jira FORT-57315 Change 3698341 by Bob.Tellez #UE4 DISABLE_GENERATED_INI_WHEN_COOKED now properly prevents all base ini file loads from happening from a generated folder. It also prevents writing generated ini files completely. #JIRA FORT-57315 Change 3697553 by Nick.Darnell Slate - When setting the content of an SBox it should always invalidate. Change 3697330 by Bart.Hawthorne APlayerController::ServerShortTimeout_Implementation now only iterates over the active object list instead of uisng an actor iterator, since non-replicated actors wont have a network object info to update. #jira FORT-57099 #tests ran 100 player bot match Change 3695578 by Bob.Tellez #UE4 Fix Win32 Change 3695508 by Eric.Newman Tweaked LogInit logging to clarify when the command line is being filtered * Encountered this red herring when evaluating crash logs #jira FORT-55839 #tests ran shipping & debug client builds, and editor game build Change 3694898 by Michael.Trepka Fixed Vorbis audio not playing on non-Windows platforms due to changes in CL 3668361 #jira FORT-57121 Change 3694655 by David.Ratti Reimplement TweakObjetPtr optimizations with FObjectReplicator as an FGCObject instead of the owning channel being responsible for adding the replciator's ObjectPtr to the reference collection. (There are cases where object replicator ownership is transferred). #JIRA FORT-57298 Change 3694491 by Ben.Woodhouse Change courtesy of Gil: Drop the priority of the texture streamer using a new low-priority thread pool. This saves a 1-2ms in heavy combat in PVE (XB1 Test) #jira FORT-57376 Change 3693609 by Ryan.Gerleve Back out CL 3689050 since it was likely causing a crash. #jira FORT-57298 Change 3693327 by Aaron.McLeran #jira FORT-57416 Fixing PS4 cook. Making sure zero pad bytes stays positive without a check. Change 3693136 by David.Ratti fix clang warning Change 3692703 by Thomas.Sarkanen Fix CIS warning on PS4/Linux Change 3692589 by Thomas.Sarkanen Moved exposed value handler bound function initialization to CDO postload This means that FindPropertyByName and FindFunctionChecked dont incur any overhead when spawning in new anim instances #jira FORT-56968 - Hitch - SkeletalMeshComponent initialization (110ms) #tests PIE PvE, 20-bot BR game on PC/PS4. Change 3692552 by Alex.Delesky Change 3692495 by Bart.Hawthorne Fix build Change 3692488 by Bart.Hawthorne Check for actor relevancy and level initialization when there's no channel first when prioritizing actors for replication. Dormancy checks in this case are useless because ShouldActorGoDormant will always be false, and if IsActorDormant is also true, then the result of skipping the actor is the same. #jira FORT-57104 #tests played 100 player bot match Change 3691819 by Bob.Tellez #UE4 No longer conditionally including SlateDebug fonts in the cook based on configuraiton. When builds are produced that contain more than one configuration it changes what is cooked in unexpected ways so now we just always cook this font. Change 3691805 by Bob.Tellez #UE4 CIS fix Change 3691784 by Bob.Tellez #UE4 Optimization for exiting PIE. Texture streaming managers have an optimization for game worlds but were not using them for PIE worlds Change 3691273 by Aaron.McLeran #jira UE-50650 Fix memory/event leak in USoundWave::AudioDecompressor Fix is to only delete the decompress/pre-cache task in game thread during FinishDestroy and not allow sounds to start playing unless the precache task has finished. Change 3691268 by Aaron.McLeran #jira FORT-56228 LogAudio:Warning: spam causes severe performance drop on the Mac Platform Reducing log level Change 3690547 by Ryan.Gerleve Speculative fix #2 for a server crash/assert. If the timing is right, it's possible for the server to try to re-load a placed-in-map actor that was previously garbage collected. This was happening because CanClientLoadObject was always returning true for these (null) objects, even if the NetGUID corresponded to a map actor that shouldn't be loaded. Also added/improved some logging that will help in case this doesn't fix the issue. #jira FORT-55763 Change 3690451 by Lukasz.Furman changed branch name testing in engine hacks to use case insensitive match Change 3690270 by David.Ratti Cache weak object ptr in FNetworkObjectInfo to avoid reconstructing one every time we need to lookup its actor channel. #jira FORT-57156 Change 3690227 by David.Ratti Added optional TWeakObjectPtr parameter to packagemap functions GetOrAssignNetGUID, SUpportsObject. This allows you to pass in a weak ptr for an object if its already created. If you pass in null, the functions will create them internally. This fixes some common cases where we were converting the same object into weak ptr multiple times in a frame. #jira FORT-57156 Change 3690184 by David.Ratti Cache net connection weakobjectptr when building consider list instead of constructing it again for every actor. #jira FORT-57156 Change 3689805 by Peter.Knepley Make ConditionalInitAxisProperties protected instead of private #jira FORT-56414 Change 3689789 by Marcus.Wassmer Hack workaround for missing shadowdepthps for XB1 until we get a handle on why things are exploding #jira FORT-56792 Change 3689702 by Peter.Knepley Allow games to have a custom MassageAxisInput function #jira FORT-56414 Change 3689687 by Bob.Tellez #UE4 Avoid copying the shaders array to avoid changing refcounts of shaders while serializing Change 3689655 by Peter.Knepley Make SmoothMouse virtual so games can have their own smoothing #jira FORT-56417 Change 3689499 by Bart.Hawthorne Fix Linux CIS warnings Change 3689397 by Bart.Hawthorne Changed FOutBunch and FInBunch uint8 entries to use bitfields instead of bytes which knocked 86% off of our net tick time Change 3689056 by Lukasz.Furman 3rd attempt for branch name checking in engine code hacks Change 3689050 by David.Ratti First pass at removing use of TWeakObjectPtr from core replication classes. This should reduce FWeakObjectPtr::Get usage. Still expecting to see FWeakObjectPtr::operator= come up a lot. Going to tackle this in a second pass which will require some deeper refactors. #jira FORT-57156 Change 3688972 by Bob.Tellez #UE4 Add build target flag to control DISABLE_GENERATED_INI_WHEN_COOKED Change 3688864 by Ryan.Gerleve Fix broken logic to find the "best" replay sample for character movement when we don't find two samples to interpolate between. Now uses the sample closest to the current time. Also added some debug drawing. #jira FORT-56553 Change 3687654 by Bob.Tellez #UE4 Added compile time option to disable reading generated ini files other than GameUserSettings in cooked builds. Change 3686615 by Lukasz.Furman Back out changelist 3686610 Change 3686592 by Matt.Kuhlenschmidt Gave the CL description in the source control submit window more room Change 3686020 by Ben.Marsh Remove debug code that prints to logs while building. #jira FORT-56923 Change 3684414 by Peter.Knepley Back out changelist 3678336 #jira FORT-56512 Change 3683894 by Gil.Gribb UE4 - By default, do not check for illegal calls to MarkPendingKill in the garbage collector in test and shipping configuations. This was slow. Change 3683686 by peter.knepley Raise MTU from 512 to 1024 #jira FORT-56756 Change 3683343 by Rob.Cannaday Fixes insert disk popup #jira FORT-56500 Change 3683156 by Peter.Knepley Network optimizations to reduce alloc/free & memcpy churn saving about 10% of net tick time Change 3682234 by Guillaume.Abadie Cherrypick TAA refactor 3512696 and TAA fix 3668108 #jira FORT-56303 Change 3681494 by Bob.Tellez #UE4 IsLoadedByEditorPropertiesOnly is not working properly so I removed it from FullLoadAndSave Change 3681342 by Bob.Tellez #UE4 Added a FullLoadAndSave option to cooking, which simply loads all content then saves it to avoid the overhead of managing which packages need to be cooked. Large perf improvement for those who cook by the book and can fit the entire game in memory Change 3681014 by Yenal.Kal #jira FORT-56209 #jira FORT-56272 Fixed a bug in the ability system where the ability ended callbacks could cause the ability end to be called again in the same call stack even though the ability is activated only once. This was happening because we were broadcasting the event before we decrement the active count. Change 3680739 by Michael.Trepka Warn about NaN float literal values when translating HLSL to Metal instead of failing, plus added more detailed warning/error messages for NaN and unhandled values #jira FORT-56425 Change 3679237 by Bob.Tellez #UE4 Remove some debug logging Change 3679187 by Bob.Tellez #UE4 Dramatically imrpove speed of writing cookloadorder log file Change 3678926 by Bob.Tellez #UE4 Minor savepackage speed improvements Change 3678336 by Aaron.McLeran #jira UE-50650 Fix memory/event leak in USoundWave::AudioDecompressor Fix is to only delete the decompress/pre-cache task in game thread during FinishDestroy and not allow sounds to start playing unless the precache task has finished. Change 3676998 by Ben.Woodhouse Fix XGE shader compilation so it doesn't crash randomly Change 3676606 by Ori.Cohen Update GC to be 61.1 to avoid heartbeat collision Change 3676447 by Ori.Cohen Fix CIS warning Change 3676286 by Max.Preussner Fixed client Crash UMediaSoundWave::GeneratePCMData (FORT-56107) #jira FORT-56107 Change 3674591 by Ryan.Gerleve Don't filter out PendingKillPending actors from FNetworkObjectList::Find. This was causing actors that get destroyed while dormant on the server to never be destroyed on clients. #jira FORT-55802 Change 3674181 by Michael.Noland Framework: DLL export LogGameplayTags Change 3674138 by Billy.Bramer #jira FORT-56138, FORT-56139 - Duplicate CL 3396590 from //Orion/Main re: ranged-base for iteration ensure from montage changes Change 3672464 by Lukasz.Furman removed recast layers crash tracking code Change 3672153 by Daniel.Lamb Added some debugging code to help track down why shaders are hashing poorly. Change 3671498 by Luke.Thatcher [~] Modify new frame syncing to reduce performance regression seen when the game is running over budget. - Rather than forcing a flip sync after we kick off one frame early, we just continue to kick frames if we time out. This allows the game thread to get ahead when we're over budget. - The game thread will naturally resync with the vsync when we return to being in budget. #jira FORT-55842 Change 3671079 by Ryan.Gerleve Fix an edge case where the PackageMap on the server would try to resolve objects from default NetGUIDs even if their outer has already been garbage collected. This could lead to a completely unrelated object being returned instead of null, leading to asserts and potentially other issues. #jira FORT-55763 Change 3670487 by Zak.Middleton Optimize some low level details of UNetConnection::ClientHasInitializedLevelFor() and UNetDriver::IsLevelInitializedForActor(). Add cached WorldPackage for NetDriver to avoid repeated GetOuterMost() and Casts. Remove rendundant virtual GetWorld() calls, and mark UNetDriver's version "final" to let it optimize away virtual call. Made UNetConnection::ClientVisibleLevelNames a TSet instead of TArray, since it is searched frequently when there are streaming levels present. #jira FORT-55999 Change 3670351 by Zak.Middleton Back out changelist 3669817 (networking optimizations). Would rather have more testing before it goes to Release-Next. Will resub just for main and RP. #jira FORT-55999 Change 3670344 by Josh.Markiewicz #UE4 - more verbose logging for SetExpectedClientLoginMsgType Change 3670323 by Wes.Hunt Fix for dedicated servers not flushing events in a timely manner. #jira FORT-56015 Doh, using GFrameNumber was NOT a good idea on servers... :-/ Change 3669817 by Zak.Middleton Optimize some low level details of UNetConnection::ClientHasInitializedLevelFor() and UNetDriver::IsLevelInitializedForActor(). Add cached WorldPackage for NetDriver to avoid repeated GetOuterMost() and Casts. Remove rendundant virtual GetWorld() calls, and mark UNetDriver's version "final" to let it optimize away virtual call. Made UNetConnection::ClientVisibleLevelNames a TSet instead of TArray, since it is searched frequently when there are streaming levels present. #jira FORT-55999 Change 3668416 by Michael.Noland Core: Changed FString::ParseIntoArray to use Reset instead of Empty on the passed in array, allowing it to be approximately resized #jira FORT-55887 Change 3668411 by Olaf.Piesche Always cache depth collision particle shader #jira FORT-51307 Change 3668361 by Aaron.McLeran #jira FORT-55628 Attempt to bypass crash and log an error if libvorbisdll fails to load. Change 3667892 by Rob.Cannaday libwebsocket libs to handle getprotobyname("TCP") failing the libwebsockets connection #jira FORT-55917 Touch LwsWebSocket.cpp to ensure the module gets built with the new libs Change 3667308 by Uriel.Doyon Postponed the release of IO requests when canceling mip updates to prevent threading issue. #jira FORT-54491 Change 3666835 by Lukasz.Furman fixed overlapping index buffers when static mesh exports both convex and simple collisions for navigation #jira UE-50370 Change 3665374 by Mike.Fricker Fixed server crashing after hotfixes have re-imported curve table data - The hotfix system is capable of replacing the content of a UCurveTable on the fly - If any systems had references to inner curves on that curve table, they would become invalid - This needs to be fixed in 1.6.4 (tonight) and also in 1.7 #jira FORT-55792 Change 3665063 by Daniel.Broder Fixed crash in GameplayTagQueryCustomization when choosing "Save and Close" on GameplayTagQuery after setting a query due to nullptr NotifyHook in CloseWidgetWindow. Added additional if (StructPropertyHandle.IsValid()) wrappers and one check(StructPropertyHandle.IsValid()); the former to be consistent with other code and prevent possible crashes, the latter to at least catch the cause of a possible crash properly without having to change the code more significantly to handle it gracefully. Also changed some if( X ) to if (X) to match coding standards and provide consistency within the file. Michael, I'm Reviewing you on this fix since you brought this change over from Framework. And Marc because you reviewed him on that change. #UE4 #NoReleaseNotes #RNX Change 3664948 by Lukasz.Furman reduced number of allocations in StorePathfindingDebugData, optimized path length calculations to avoid recursion #jira FORT-51111 Change 3664916 by John.Abercrombie Copy CLs 3383318 & 3388506 from //Orion/Main/Engine/Source/Runtime/Engine/... - Been testing with this for a while now - This change makes particle effects show up on the current frame's pose for skel meshes as well Removed my StopAllMontagesByGroupName temp hack CL 3383318 Delay dispatching of AnimEvents (Notifies and Montage Events) until after we receive an updated animation pose (if applicable). This fixes AnimNotifies playing particle effects using a socket location using last frame's pose. Now they use the current frame's pose. CL 3388506 Delay clearing of MontageInstances and triggering 'OnAllMontageInstancesEnded' until all Montage Events have been dispatched. Also fix SkelMeshComponent ticking on dedicated servers when rejoining in progress. #jira FORT-55102 - Server Crash UAnimInstance::StopAllMontagesByGroupName Change 3780616 by Gil.Gribb Fixed and reenabled r.DelaySceneRenderCompletion Change 3778979 by Gil.Gribb UE4 - Improved the performance of grass updates and added the ability to not do all of them every frame. Change 3778200 by Nick.Darnell UMG - Making it possible to cancel delays and all animations on widgets. Useful when destroying a widget and needing to stop any async state. Change 3777612 by Zak.Middleton Perf: Added option to CharacterMovementComponent to skip immediate forward prediction for proxies on the frame they receive a network update (bNetworkSkipProxyPredictionOnNetUpdate). This avoids all forward prediction sweeps and floor checks on those updates. Intermediate frames will interpolate with prediction. This can also be disabled globally with the CVar "p.NetEnableSkipProxyPredictionOnNetUpdate 0". Added NetworkSmoothingDisableProxyPredictionForPawnLOD to force disabling full simulation for LOD >= this value (currently 3, so bottom 75 pawns). This takes precedence over current distance and view angle checks for prediction (mesh interpolation is untouched). Change 3774338 by Ben.Woodhouse Convert the D3D12 PSO caches to use RwScopeLocks. This change is courtesy of a shelf from Gil, plus a couple of minor fixes. Saves up to a millsecond of frame time in CPU-bound scenarios Change 3773462 by Gil.Gribb UE4 - Add particle batching. This is disabled by default but can improve thread scheduling when there are lots of very fast particle systems. Change 3771375 by Hongyi.Yu Fixed the crash where ability components are unregistered and then re-registered, which usually happens in PIE. Change 3771368 by Ben.Zeigler #jira UE-52670 Add project setting bValidateUnloadedSoftActorReferences that is true by default to match current behavior. If you set it to false it will no longer load packages to look for soft actor references when deleting/renaming actors. Change 3771173 by Seth.Weedin Auto manage attachment support for AudioComponent- An opt-in feature that allows AudioComponents to cache their AttachParent/AttachSocket and only attach themselves when playing audio, detaching after playback is completed. Set to false by default. Change 3768811 by Ori.Cohen Change animation scale collision code so that it uses the physics asset. Change 3768148 by Brian.Bekich Fix muting being unable to find remote player controller Change 3768117 by Ori.Cohen Prevent pawn collision from updating during animation Change 3766554 by Gil.Gribb UE4 - Added a new option to add and remove from static draw lists on demand. This is off by default. Change 3766427 by Nick.Darnell Slate - Finally adding Opacity to SWidget. Any widget can now be alpha animated at will, no more need to waste overhead by wrapping things with SBorder or making them userwidgets just to be able to animate a fade. Change 3761682 by nick.darnell Athena - Introducing a way to interrupt the request to scroll and item into view. In cases where you're animating, quickly showing and hiding, with the item widgets unavailable for a few frames, you enter cases where the deferred navigation is resolved after you've canceled showing a dialog stealing focus. Change 3761416 by Ben.Zeigler #jira UE-52287 Prevent cook metadata like DevelopmentAssetRegistry.bin from being packed into a shipping game, by moving it into a Metadata subdirectory and updating deployment scripts to avoid that directory. Right now it doesn't package them at all, we could change it to package them as Debug Non-UFS if desired Change it so the asset audit UI will only load DevelopmentAssetRegistry.bin files, the cooked registry files don't have enough information any more to be useful Remove ability for runtime game to load DevelopmentAssetRegistry.bin, this ended up not being useful Change 3750998 by Ethan.Geller #jira FORT-60191 Allow -audiomixer command line arg to work on all platforms. Change 3749540 by Marc.Audy SignificanceManager now takes viewpoints in as TArrayView instead of const TArray& Change 3748102 by Marc.Audy Allow cheat cvars to work in Test builds by default Can be overriden by defining ALLOW_CHEAT_CVARS_IN_TEST as 0 in Target.cs files Change 3744756 by Bart.Hawthorne Upgrade Oodle to version 2.5.5. Also, iOS, Android, and Switch platforms have been added. The new dictionary has been generated with old and local captures. Change 3741168 by Max.Preussner MediaUtils: Fixed movies not playing properly in Shipping builds Change 3739256 by Jian.Ru Set distance field self-shadow bias without recreating all render states Change 3730756 by Ben.Woodhouse HISM optimization: Gil's change to skip trees with only one level of hierarchy (working around badly tuned content issues) Change vert threshold to 2K. 1-2ms renderthread win without impacting GPU when rendering point lights Change 3724029 by Zak.Middleton Increase allowed time for movement substep duration. Don't want to lower between 2 iterations, as this is not used much in practice other than deflection and movement mode changes, and that will change behavior (lose momentum). This new setting will absorb longer hitches in the common case (moving without collision or falling). Change 3723985 by Marc.Audy SignificanceManager PostSignificanceUpdate functions can now be executed sequentially on the game thread as well as concurrently in the parallel for (old behavior) Change 3722910 by Jian.Ru Amortize shadow cache update caused by resolution change Changed to use view distance vs. view space z when calculating whole scene shadow resolution which is less sensitive to camera rotation Change 3718247 by Yenal.Kal Fixed the bug where the gameplay effect durations can show incorrect values after rejoin or after server time drifting away from the client. Change 3716343 by Jamie.Dale Adding Korean and Turkish to the localization automation Change 3710534 by Uriel.Doyon Texture streaming optimization where a maximum texture resolution for each level streaming data is computed per view. This is used to cull irrelevant levels and reduce the async task number of iterations. The culled size is defined by the new r.Streaming.MinLevelTextureScreenSize. This requires to remove primitives with big UV density from the level data. Those primitives get moved to the dynamic lists. This is controlled by r.Streaming.MaxTextureUVDensity Change 3707207 by David.Ratti Remove look ahead-vectors prediction in FNetViewer. This (requires) a line trace which is not desirable or really accurate anymore. This saves us a line trace per connection per multicast rpc. unify reliable multicast rpc handling: these now do relevancy checks and are not sent to non relevant clients Change 3706272 by Thomas.Sarkanen Added utility/math functions to aid in optimizing anim blueprints Added VectorLengthXY to get the 2D length of a 3D vector. Avoids unecessary conversions. Added polar->cartesian->polar conversion helper functions for expensive frequently-used anim graph functionality. Change 3706159 by David.Ratti PlayerState/ASC replication optimizations from Polge: this puts the net update frequnecy on player state back to 1hz while forcing netupdates on the player state actor when the ability system component needs to update Change 3692891 by David.Ratti Optimizations for UNetConnection::ClientHasInitializedLevelFor: build acceleration map of actor outer's (ULevels) -> Visibility bool. Existing logic stays the same. Change 3691392 by Aaron.McLeran #jira UE-50628 Fix audio trying to sync load bulk data with EDL enabled - Fix log error in BulkData.cpp - Make the first stream chunk be force inline payload in bulk data flags so it loads immediately vs in async IO system - Make audio stream chunks get as close to 256 k chunks as it can, zero-pad rest to be 256 k aligned - Fix up DDC key, serialize AudioDataSize separately from chunk DataSize Change 3682683 by Zak.Middleton Add bOnlyTickMontageOnDedicatedServer variable to AnimInstance, to avoid anim bp updates on dedicated server. Turn on to fix hitching from queued ServerMove() calls, and some free perf during all montages on the server. Change 3678771 by Ori.Cohen Added the ability to turn on stack walk during hitching vs lightweight stats Change 3676363 by Ori.Cohen Added the ability to get callstacks as part of hitch detection Change 3674877 by Keith.Judge Move definition of GFailedToFindParamCollectionBufferQueue to ShaderBaseClasses.cpp so that all targets can successfully compile. Change 3672515 by Bob.Tellez Added code to play wind particle effects Change 3670909 by Zak.Middleton Fixed ForcePositionUpdate() not calling CheckJumpInput(). Added "p.NetForceClientServerMoveLossPercent" cvar to simulate loss of client->server movement RPCs (without hosing the rest of networking). [CL 3791033 by Marc Audy in Main branch]
2017-12-05 21:57:41 -05:00
LastReadRequest = 0;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
else
{
UE_LOG(LogPakFile, Log, TEXT("Pak file %s was NOT removed from pak precacher because it had outstanding requests."), *PakFile.ToString());
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
// these are not threadsafe and should only be used for synthetic testing
uint64 GetLoadSize()
{
return LoadSize;
}
uint32 GetLoads()
{
return Loads;
}
uint32 GetFrees()
{
return Frees;
}
void DumpBlocks()
{
while (!FPakPrecacher::Get().IsProbablyIdle())
{
QUICK_SCOPE_CYCLE_COUNTER(STAT_WaitDumpBlocks);
FPlatformProcess::SleepNoStats(0.001f);
}
FScopeLock Lock(&CachedFilesScopeLock);
bool bDone = !HasRequestsAtStatus(EInRequestStatus::Waiting) && !HasRequestsAtStatus(EInRequestStatus::InFlight) && !HasRequestsAtStatus(EInRequestStatus::Complete);
if (!bDone)
{
UE_LOG(LogPakFile, Log, TEXT("PakCache has outstanding requests with %llu total memory."), BlockMemory);
}
else
{
UE_LOG(LogPakFile, Log, TEXT("PakCache has no outstanding requests with %llu total memory."), BlockMemory);
}
}
};
static void WaitPrecache(const TArray<FString>& Args)
{
uint32 Frees = FPakPrecacher::Get().GetFrees();
uint32 Loads = FPakPrecacher::Get().GetLoads();
uint64 LoadSize = FPakPrecacher::Get().GetLoadSize();
double StartTime = FPlatformTime::Seconds();
while (!FPakPrecacher::Get().IsProbablyIdle())
{
check(Frees == FPakPrecacher::Get().GetFrees()); // otherwise we are discarding things, which is not what we want for this synthetic test
QUICK_SCOPE_CYCLE_COUNTER(STAT_WaitPrecache);
FPlatformProcess::SleepNoStats(0.001f);
}
Loads = FPakPrecacher::Get().GetLoads() - Loads;
LoadSize = FPakPrecacher::Get().GetLoadSize() - LoadSize;
float TimeSpent = FPlatformTime::Seconds() - StartTime;
float LoadSizeMB = float(LoadSize) / (1024.0f * 1024.0f);
float MBs = LoadSizeMB / TimeSpent;
UE_LOG(LogPakFile, Log, TEXT("Loaded %4d blocks (align %4dKB) totalling %7.2fMB in %4.2fs = %6.2fMB/s"), Loads, PAK_CACHE_GRANULARITY / 1024, LoadSizeMB, TimeSpent, MBs);
}
static FAutoConsoleCommand WaitPrecacheCmd(
TEXT("pak.WaitPrecache"),
TEXT("Debug command to wait on the pak precache."),
FConsoleCommandWithArgsDelegate::CreateStatic(&WaitPrecache)
);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static void DumpBlocks(const TArray<FString>& Args)
{
FPakPrecacher::Get().DumpBlocks();
}
static FAutoConsoleCommand DumpBlocksCmd(
TEXT("pak.DumpBlocks"),
TEXT("Debug command to spew the outstanding blocks."),
FConsoleCommandWithArgsDelegate::CreateStatic(&DumpBlocks)
);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
static FCriticalSection FPakReadRequestEvent;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
class FPakAsyncReadFileHandle;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
struct FCachedAsyncBlock
{
class FPakReadRequest* RawRequest;
uint8* Raw; // compressed, encrypted and/or signature not checked
uint8* Processed; // decompressed, deencrypted and signature checked
FGraphEventRef CPUWorkGraphEvent;
int32 RawSize;
int32 DecompressionRawSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
int32 ProcessedSize;
int32 RefCount;
int32 BlockIndex;
bool bInFlight;
bool bCPUWorkIsComplete;
bool bCancelledBlock;
FCachedAsyncBlock()
: RawRequest(0)
, Raw(nullptr)
, Processed(nullptr)
, RawSize(0)
, DecompressionRawSize(0)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
, ProcessedSize(0)
, RefCount(0)
, BlockIndex(-1)
, bInFlight(false)
, bCPUWorkIsComplete(false)
, bCancelledBlock(false)
{
}
};
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
class FPakReadRequestBase : public IAsyncReadRequest, public IPakRequestor
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
protected:
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
int64 Offset;
int64 BytesToRead;
FEvent* WaitEvent;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock* BlockPtr;
EAsyncIOPriorityAndFlags PriorityAndFlags;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
bool bRequestOutstanding;
bool bNeedsRemoval;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool bInternalRequest; // we are using this internally to deal with compressed, encrypted and signed, so we want the memory back from a precache request.
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
public:
FPakReadRequestBase(FName InPakFile, int64 PakFileSize, FAsyncFileCallBack* CompleteCallback, int64 InOffset, int64 InBytesToRead, EAsyncIOPriorityAndFlags InPriorityAndFlags, uint8* UserSuppliedMemory, bool bInInternalRequest = false, FCachedAsyncBlock* InBlockPtr = nullptr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
: IAsyncReadRequest(CompleteCallback, false, UserSuppliedMemory)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, Offset(InOffset)
, BytesToRead(InBytesToRead)
, WaitEvent(nullptr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
, BlockPtr(InBlockPtr)
, PriorityAndFlags(InPriorityAndFlags)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, bRequestOutstanding(true)
, bNeedsRemoval(true)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
, bInternalRequest(bInInternalRequest)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
virtual ~FPakReadRequestBase()
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (bNeedsRemoval)
{
FPakPrecacher::Get().CancelRequest(this);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (Memory && !bUserSuppliedMemory)
{
// this can happen with a race on cancel, it is ok, they didn't take the memory, free it now
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(BytesToRead > 0);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, BytesToRead);
FMemory::Free(Memory);
}
Memory = nullptr;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
// IAsyncReadRequest Interface
virtual void WaitCompletionImpl(float TimeLimitSeconds) override
{
{
FScopeLock Lock(&FPakReadRequestEvent);
if (bRequestOutstanding)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
check(!WaitEvent);
WaitEvent = FPlatformProcess::GetSynchEventFromPool(true);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
}
if (WaitEvent)
{
if (TimeLimitSeconds == 0.0f)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
WaitEvent->Wait();
check(!bRequestOutstanding);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
else
{
WaitEvent->Wait(TimeLimitSeconds * 1000.0f);
}
FScopeLock Lock(&FPakReadRequestEvent);
FPlatformProcess::ReturnSynchEventToPool(WaitEvent);
WaitEvent = nullptr;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
}
virtual void CancelImpl() override
{
check(!WaitEvent); // you canceled from a different thread that you waited from
FPakPrecacher::Get().CancelRequest(this);
bNeedsRemoval = false;
if (bRequestOutstanding)
{
bRequestOutstanding = false;
SetComplete();
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& GetBlock()
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(bInternalRequest && BlockPtr);
return *BlockPtr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
};
class FPakReadRequest : public FPakReadRequestBase
{
public:
FPakReadRequest(FName InPakFile, int64 PakFileSize, FAsyncFileCallBack* CompleteCallback, int64 InOffset, int64 InBytesToRead, EAsyncIOPriorityAndFlags InPriorityAndFlags, uint8* UserSuppliedMemory, bool bInInternalRequest = false, FCachedAsyncBlock* InBlockPtr = nullptr)
: FPakReadRequestBase(InPakFile, PakFileSize, CompleteCallback, InOffset, InBytesToRead, InPriorityAndFlags, UserSuppliedMemory, bInInternalRequest, InBlockPtr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
check(Offset >= 0 && BytesToRead > 0);
check(bInternalRequest || ( InPriorityAndFlags & AIOP_FLAG_PRECACHE ) == 0 || !bUserSuppliedMemory); // you never get bits back from a precache request, so why supply memory?
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (!FPakPrecacher::Get().QueueRequest(this, InPakFile, PakFileSize, Offset, BytesToRead, InPriorityAndFlags))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
bRequestOutstanding = false;
SetComplete();
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
virtual void RequestIsComplete() override
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(bRequestOutstanding);
if (!bCanceled && (bInternalRequest || (PriorityAndFlags & AIOP_FLAG_PRECACHE) == 0))
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (!bUserSuppliedMemory)
{
check(!Memory);
Memory = (uint8*)FMemory::Malloc(BytesToRead);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(BytesToRead > 0);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
INC_MEMORY_STAT_BY(STAT_AsyncFileMemory, BytesToRead);
}
else
{
check(Memory);
}
if (!FPakPrecacher::Get().GetCompletedRequest(this, Memory))
{
check(bCanceled);
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
SetDataComplete();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
FScopeLock Lock(&FPakReadRequestEvent);
bRequestOutstanding = false;
if (WaitEvent)
{
WaitEvent->Trigger();
}
SetAllComplete();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
};
class FPakEncryptedReadRequest : public FPakReadRequestBase
{
int64 OriginalOffset;
int64 OriginalSize;
FGuid EncryptionKeyGuid;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
public:
FPakEncryptedReadRequest(FName InPakFile, int64 PakFileSize, FAsyncFileCallBack* CompleteCallback, int64 InPakFileStartOffset, int64 InFileOffset, int64 InBytesToRead, EAsyncIOPriorityAndFlags InPriorityAndFlags, uint8* UserSuppliedMemory, const FGuid& InEncryptionKeyGuid, bool bInInternalRequest = false, FCachedAsyncBlock* InBlockPtr = nullptr)
: FPakReadRequestBase(InPakFile, PakFileSize, CompleteCallback, InPakFileStartOffset + InFileOffset, InBytesToRead, InPriorityAndFlags, UserSuppliedMemory, bInInternalRequest, InBlockPtr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
, OriginalOffset(InPakFileStartOffset + InFileOffset)
, OriginalSize(InBytesToRead)
, EncryptionKeyGuid(InEncryptionKeyGuid)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
Offset = InPakFileStartOffset + AlignDown(InFileOffset, FAES::AESBlockSize);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
BytesToRead = Align(InFileOffset + InBytesToRead, FAES::AESBlockSize) - AlignDown(InFileOffset, FAES::AESBlockSize);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (!FPakPrecacher::Get().QueueRequest(this, InPakFile, PakFileSize, Offset, BytesToRead, InPriorityAndFlags))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
bRequestOutstanding = false;
SetComplete();
}
}
virtual void RequestIsComplete() override
{
check(bRequestOutstanding);
if (!bCanceled && (bInternalRequest || ( PriorityAndFlags & AIOP_FLAG_PRECACHE) == 0 ))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
uint8* OversizedBuffer = nullptr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (OriginalOffset != Offset || OriginalSize != BytesToRead)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
// We've read some bytes from before the requested offset, so we need to grab that larger amount
// from read request and then cut out the bit we want!
OversizedBuffer = (uint8*)FMemory::Malloc(BytesToRead);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
uint8* DestBuffer = Memory;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (!bUserSuppliedMemory)
{
check(!Memory);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
DestBuffer = (uint8*)FMemory::Malloc(OriginalSize);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
INC_MEMORY_STAT_BY(STAT_AsyncFileMemory, OriginalSize);
}
else
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(DestBuffer);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (!FPakPrecacher::Get().GetCompletedRequest(this, OversizedBuffer != nullptr ? OversizedBuffer : DestBuffer))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
check(bCanceled);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (!bUserSuppliedMemory)
{
check(!Memory && DestBuffer);
FMemory::Free(DestBuffer);
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, OriginalSize);
DestBuffer = nullptr;
}
if (OversizedBuffer)
{
FMemory::Free(OversizedBuffer);
OversizedBuffer = nullptr;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
else
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Memory = DestBuffer;
check(Memory);
INC_DWORD_STAT(STAT_PakCache_UncompressedDecrypts);
if (OversizedBuffer)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3805092) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3623004 by Ben.Marsh Fix RemoteExecutor not taking the remote machine specs into account. Change 3623172 by Ben.Marsh UGS: Fix "More Info..." button not using P4 server override. Change 3628820 by Ben.Marsh PR #3979: Get working directory from task element, not tool node (Contributed by nullbus) Change 3630424 by Graeme.Thornton Make the AES key parameter const in FAES::EncryptData() Change 3632786 by Steve.Robb FString constructor fixed to not take an ignored void* parameter, which can be misleading. Change 3639534 by Ben.Marsh Remove old P4.NET library. Doesn't seem to be used by anything. Change 3640536 by Steve.Robb GitHub #4007 : Delete unnecessary specialization of MakeArrayView #jira UE-49617 Change 3641155 by Gil.Gribb UE4 - Speculative fix for problem with summary reading in FAsyncArchive2. Change 3643932 by Ben.Marsh Add an example build script for updating the version number, then compiling and staging the editor and tools to an output directory. Optionally submits at the end (requires -Submit argument). Change 3644825 by Ben.Marsh Use VSWHERE to find the location of MsBuild.exe, if available. https://github.com/EpicGames/UnrealEngine/pull/3879#issuecomment-329688645 Change 3647395 by Ben.Marsh Allow compiling of monolithic binaries from BuildEditorAndTools.xml, using the -set:GameTarget=FooGame -set:TargetPlatforms=Win32;Win64 options. Change 3650300 by Ben.Marsh UAT: Remove code that deletes cooked data on a failed cook. The engine should write packages out transactionally now (by writing to a temporary file and moving into place), and deleting the cooked data just prevents post-mortem analysis. Change 3650856 by Robert.Manuszewski Adding checks to prevent FlushAsyncLoading and LoadObject/LoadPackage from being called from any threads other than the game thread Change 3651022 by Gil.Gribb UE4 - Possible fix for mysterious ensure indicating problematic recursion in the pak precacher. Change 3658331 by Steve.Robb Fix for the parsing of large integer values. Change 3661958 by Gil.Gribb UE4 - Fixed rare hang in task graph. Change 3664021 by Robert.Manuszewski Fix for a potential GC crash caused by stale pointer in AnimInstanceProxy See https://udn.unrealengine.com/questions/392432/gc-issue-uaniminstancemontageinstances-empty-but-u.html Change 3664254 by Steve.Robb Use ANSI allocator when thread sanitizer is enabled. This allows the generation of more accurate and meaningful reports. Change 3664436 by Steve.Robb Use TUniquePtr instead of a thread-unsafe TSharedPtr to move data between threads. Change 3666461 by Graeme.Thornton Improvements to signing/encryption key embedding and runtime access - Changed method of embedding key into the executable to make it more secure - Added FAESKey class to wrap a 32 byte key Change 3666462 by Graeme.Thornton Cut ShooterGame AES key down to 32 characters Change 3677560 by Ben.Marsh PR #4074: UBT: Add include and library-related fields to module JSON output (Contributed by adamrehn) Change 3683534 by Steve.Robb Refactoring of enum/struct lookup during hot reload. Change 3683754 by Steve.Robb Alignment fixes to allow int64 on 32-bit platforms Support for integral types in IsAligned. Static asserts so that alignment functions will no longer be called with non-intergal, non-pointer types. Some fixes to existing code. Change 3686670 by Steve.Robb Fix for thread-unsafe modification of static array in FString::ParseIntoArrayWS. Change 3687540 by Ben.Marsh Fix all UBT/UAT output going to stderr rather than stdout. Change 3688931 by Gil.Gribb UE4 - Critical fix for a rare race condition in the pak file async IO layer. Change 3690000 by Graeme.Thornton Manual copy of 4.18 CL 3687869 Make UBT include the destination INI file for a given hierarchy if it exists Renamed VSCode enum value to VisualStudioCode, so it matches the source accessor plugin name Change 3690030 by Graeme.Thornton VSCode fixes - Source Code Accessor plugin changes. Add new interface method to open a solution at a given path - GameProjectUtils now uses the source navigation API to open solutions rather than hardcoding which solution file types to look for - Various fixes for vscode project file generation #jira UE-50554 Change 3690885 by Steve.Robb Atomic reads in FReferenceControllerOps<ESPMode::ThreadSafe>. Change 3691052 by Steve.Robb Free stats thread on shutdown. Change 3695138 by Steve.Robb AsConst helper function added. Change 3696627 by James.Hopkin Changed player controller iterator typedefs to use TWeakObjectPtr rather than the deprecated TAutoWeakObjectPtr (review-3606695) Change 3697099 by Steve.Robb GitHub #4105 : Removed redundant class access modifier Change 3697154 by Steve.Robb Removal of deprecated functions in delegates. Mutable lambdas to can now be bound to delegates. Change 3697180 by Steve.Robb GitHub #4115 : Incorrect CPPMacroType used for USoftClassProperty Change 3697239 by Steve.Robb Allow TArray::Insert to take an array with any allocator type. Change 3697269 by Steve.Robb RelocateConstructItems instead of MoveConstructItems. Change 3697558 by Steve.Robb New _GetRef functions for TArray, which return a reference to the newly-added element. Unit tests for these functions. Change 3699776 by Steve.Robb TSAN warning suppression around IAsyncReadRequest::bCompleteAndCallbackCalled. Change 3702397 by Steve.Robb TIsTrivial type trait. Change 3702569 by Steve.Robb Allow a TGuardValue to be assigned to a different type from the one being guarded. Change 3706644 by Robert.Manuszewski Different stack ingore count for development builds for FArchiveStackTrace Change 3709272 by Steve.Robb Removal of redundant UpdateVertices, which causes a race condition on the renderer thread. Change 3709452 by Robert.Manuszewski Fixed a bug where with async time limit set to a low value the async loading could hang because the linker would keep reloading the preload dependencies Change 3709454 by Robert.Manuszewski Added command line option -NOEDL to disable EDL Change 3709487 by Steve.Robb Remove use of PLATFORM_HAS_64BIT_ATOMICS, which is always 1. Change 3709645 by Ben.Marsh Fix race condition between multiple instances of UBT trying to write out the XML config cache. Change 3711193 by Ben.Marsh Add an editor setting for the shared DDC location to use. #jira UE-51487 Change 3713811 by Steve.Robb Update .modules files after a hot reload. Don't check for directory timestamp changes as a way of detecting new files if hot reloading with a makefile, as this is already done during makefile invalidation checks. Pass hotreload flags around in UBT instead of relying on global state. This fixes the hot reload iteration speed regression without also regressing the fix to UE-42205. #jira UE-51472 Change 3715654 by Steve.Robb GitHub #4156 : Fixed not compiling template function Algo::UpperBoundBy. Change 3718782 by Steve.Robb TSharedPtr, TSharedRef and TWeakPtr assignment are now implemented as copy-and-swap to avoid an invalid smart pointer state being visible to any destructors being called. Change 3720830 by Steve.Robb Initial import of TAtomic object wrapper, which guarantees atomic access to an object. Change 3720881 by Steve.Robb FCompression ThreadSanitizer data race fixes. Change 3722640 by Graeme.Thornton Guard network platform file heartbeat function with the socket critical section. Stop heartbeat from causing a crash when firing during async loading. #jira UE-51463 Change 3722655 by Steve.Robb Don't null name table because it's already zeroed at startup. Some tidy-ups. Change 3722754 by Steve.Robb Thread sanitizer fix. Small typo fix. Change 3722849 by Graeme.Thornton Improve "caching file" message in networkplatformfile so it says "Requesting file..." and is only output when we actually request the file from the server Change 3723081 by Steve.Robb TAtomic is now aligned to the underlying integer type. TAtomic will now static assert with a better error message when given an unsupported type. Define added for the maximum platform-supported atomic type, and used instead of a (wrong) hardcoded number. Misc renames. Change 3723270 by Ben.Marsh Include /d2cgsummary argument when running UBT with -Timing. Change 3723683 by Ben.Marsh Do not include documentation in the generated project files by default. Suspect that the 30,000 UDN files that get added to the solution take up memory and degrate performance. Change 3725422 by Robert.Manuszewski When serializing compressed archive with multithreaded compression enabled, wait for the oldest async task instead of spinning. Change 3725735 by Robert.Manuszewski Making all CheckDefaultSubobjects related functions const Change 3726167 by Steve.Robb FMinimalName::IsNone added. Change 3726458 by Steve.Robb TAtomic will no longer instantiate for types which are not exactly a size supported by the platform layer. Change 3726542 by Ben.Marsh UGS: Always include the project filename in the editor build command. The project may not be in one of the .uprojectdirs paths. Change 3726595 by Ben.Marsh Allow building multiple game targets in the example BuildEditorAndTools.xml script. Change 3726724 by Ben.Marsh Fix ambiguities in calculating root directory. (GitHub #4172) Change 3726959 by Ben.Marsh Make sure that AutomationTool uses the same list of preprocessor definitions when compiling *.target.cs files as UnrealBuildTool does. Change 3728437 by Steve.Robb VisitTupleElements now supports invocation of a functor taking arguments from multiple tuples in parallel. Some improved documentation. NOTE: This is a backward-incompatible change to VisitTupleElements. Any existing calls will need their arguments swapping. Change 3732262 by Gil.Gribb UE4 - Fixed rare hangs in the task graph. Change 3732755 by Steve.Robb Stats TSAN fixes. Optimizations to FCycleCounter::Start() to only read the stat name once. Change 3735000 by Robert.Manuszewski Always preload the AssetRegistry module on startup. even if EDL is disabled. Even without EDL, if the async loading thread is enabled the AssetRegistryModule will otherwise be loaded from the ASL thread and that will assert. Change 3735292 by Robert.Manuszewski Made sure component visualizer is removed from VisualizersForSelection when UnregisterComponentVisualizer() is called otherwise it may cause crashes when the engine terminates. Change 3735332 by Steve.Robb Refactoring of UDelegateProperty::Identical() to clarify logic. Fixed UMulticastDelegateProperty::Identical() to compare the bound function names. PPF_DeltaComparison removed, as it doesn't seem useful. Change 3737960 by Graeme.Thornton VSCode - Add launch task for generating project files for the given folder Change 3738398 by Graeme.Thornton Make Visual Studio source code accessor's module hotreload handler pass the 'save all files' message to the current accesor, rather than direct to the visual studio accessor #jira UE-51451 Change 3738405 by Graeme.Thornton VSCode: Format c/cpp settings strings using comment path formatting function Change 3738928 by Steve.Robb Fix for lack of null conditional operators in some older Monos. (replicated from CL# 3729574 in Release-4.18) #jira UE-51842 Change 3739135 by Ben.Marsh Fix being unable to package projects in a folder called "Wolf". This is only a restricted folder for Epic's Perforce history. #jira UE-51855 Change 3739360 by Ben.Marsh UAT: Fix issue with P4PORT setting not being parsed correctly. Change 3745959 by James.Hopkin #core Added ImplicitConv for safe upcasts to a specific required type, e.g. deduced delegate payload types Change 3746125 by Steve.Robb FName ThreadSanitizer fixes. Change 3747274 by Steve.Robb TSAN fix for FMediaTicker::Stopping. Change 3747618 by Steve.Robb ThreadSanitizer data race fix for FShaderCompileThreadRunnableBase::bForceFinish. Change 3747720 by Steve.Robb ThreadSanitizer fix for FMessageRouter::Stopping. Change 3749207 by Graeme.Thornton First pass of CryptoKeys plugin. Allows creation/editing/cycling of AES/RSA keys. Change 3749323 by Graeme.Thornton Fix UAT crash when only -targetplatform is specifiied Change 3749349 by Steve.Robb TSAN_SAFE guards around LockFreeList to silence ThreadSanitizer. Change 3749617 by Steve.Robb Logf static_assert for formatting string enabled. Change 3749897 by Steve.Robb FDebug::LogAssertFailedMessage static assert for formatting string enabled. Change 3754011 by Steve.Robb Static asserts that the allocator supports move. Move-enabled our allocators which don't support move. Change 3754227 by Ben.Marsh Fix build command line in generated projects missing a space before the compiler version override. #jira UE-52226 Change 3754562 by Ben.Marsh PR #4206: Replace deprecated wsprintf with secure swprintf for Bootstrap executable (Contributed by jessicafalk) Change 3755616 by Graeme.Thornton Runtime code for using the new crypto ini files to define signing/encryption keys #jira UE-46580 Change 3755666 by James.Hopkin Used ImplicitConv to remove Casts being used for up-casts #review-3745965 Change 3755671 by Graeme.Thornton Add log message in unrealpak to say which config file system it is using for crypto keys Change 3755672 by Graeme.Thornton Updating ShooterGame with new CryptoKeys based security setup Change 3756778 by Ben.Marsh Add support for running multiple jobs simultaneously on a single builder. When running job or agent setup, the --num-slots=X parameter defines the number of steps that can run simultaneously (EC procedures pass in the resource step limit). A lock file is created under the workspace root (D:\Build) and a reservation file is created for the first slot that can be allocated (slot-1, slot-2, etc...). The slot number is used to define the workspace name that should be used. Change 3758498 by Ben.Marsh Re-throw exceptions when a file cannot be deleted when cleaning a target. Change 3758921 by Steve.Robb ThreadSanitizer fix to FThreadSafeStaticStatBase::HighPerformanceEnable to do a relaxed atomic load on access. DoSetup() now returns the newly-allocated pointer, instead of reloading it from memory. Change 3760599 by Graeme.Thornton Added missing epic header comment to some new source files Change 3760642 by Steve.Robb ThreadSanitizer fix for concurrent access to GMainThreadBlockedOnRenderThread. Change 3760669 by Graeme.Thornton Improvement to OpenSSL based signing key generator. Generate a full RSA key then steal the primes from it, rather than generating the primes manually. Added a test mode to the cryptokeys commandlet to test signing key generation Change 3760711 by Steve.Robb ThreadSanitizer fixes to GIsRenderingThreadSuspended. Change 3760739 by Steve.Robb ThreadSanitizer fix for FQueuedThread::TimeToDie. Change 3760763 by Steve.Robb ThreadSanitizer fix for GRunRenderingThreadHeartbeat. Removal of unnecessary/dangerous initializer for GMainThreadBlockedOnRenderThread. Change 3760793 by Steve.Robb Some simple refactoring to remove some volatile reads of BufferStartPos and BufferEndPos. Change 3760817 by Steve.Robb ThreadSanitizer fixes for FAsyncWriter::BufferStartPos and BufferEndPos. Change 3761331 by Josh.Engebretson UnrealBuildTool enforcement of Development and Debug configurations in existing .csproj #jira UE-52416 Change 3761521 by Steve.Robb ThreadSanitizer fixes for FEvent::EventStartCycles and EventUniqueId. Change 3763117 by Graeme.Thornton PR #3722: Optimising FPaths::IsRelative() (Contributed by jovisgCL) Change 3763358 by Graeme.Thornton Ensure that all branches within FGenericPlatformMisc::RootDir() produce an absolute path with no duplicate slashes Remove relative->abs conversion of root dir from FPaths::MakeStandardFilename(), now that we know RootDir() always returns an absolute path Derived from the content of this PR: PR #3742: Treat RootDirectory the same way as Standardized (Contributed by TroutZhang) Change 3764058 by Graeme.Thornton Generate a .code-workspace file for the current workspace. Allows foreign projects to "mount" the UE4 folder so that the engine tasks are avaible, and all engine source is visible to VSCode for searching purposes #jira UE-52359 Change 3764705 by Steve.Robb Better handling of whitespace in ImportText_Internal() for set and map properties. Containers are now emptied upon import failure, to avoid leaving bad container states (unhashed, partial data). Fix to USetProperty's temp buffer size to avoid buffer overruns. Duplicate map keys are now skipped during import, same as USetProperty's behavior. Change 3764731 by Steve.Robb Don't re-run UHT if only source files have changed in the same folder as headers. This was already done for hot reload, but there's no reason why it should be limited to that. Change 3765923 by Graeme.Thornton VSCode - "taskName" -> "label" for C# build tasks Change 3766018 by Steve.Robb constexpr constructor for TAtomic. Change 3766037 by Steve.Robb Misc tidyings in HotReload.cpp. Change 3766046 by Steve.Robb ThreadSanitizer fixes to ENamedThreads::RenderThread and ENamedThreads::ENamedThreads_Local. Change 3766288 by Steve.Robb Improved efficiency of adding/removing elements to UGCObjectReferencer::ReferencedObjects. Change 3766374 by Josh.Engebretson Fix issue with ini quoted value comparison #jira UE-52066 Change 3766532 by Josh.Engebretson PR #3680: Added NetSerialize to FDateTime fixing UE-22533 (Contributed by druhasu) #jira UE-46156 Change 3766740 by Steve.Robb TMultiMap::Append added. Change 3767523 by Steve.Robb ThreadSanitizer fix for UE4Delegates_Private::GNextID. Change 3767601 by Steve.Robb ThreadSanitizer fix for FStats::GameThreadStatsFrame. Change 3770567 by Ben.Marsh Add a FAnnotatedArchiveFormatter interface which allows querying structural type information that may not be in binary archives. Change 3770826 by Ben.Marsh Move StructuredArchive implementation into Core, so primitive types can implement serialization overloads for it. Change 3770875 by Steve.Robb Redundant UScriptStruct::PostLoad removed, which was causing a race condition in async loading. This was re-establishing the CppStructOps, but that is unnecessary because native classes cannot change as a result of a load - only BP structs can, and they don't have CppStructOps. Change 3772167 by Ben.Marsh Add a context-free binary formatter that can serialize tagged data. This functions as a lower-overhead binary intermediate format for JSON data. Change 3772248 by Steve.Robb ThreadSanitizer fixes to FMalloc call counters. Change 3772383 by Ben.Marsh Separate archive metadata from FArchive into FArchiveContext, so it can be safely exposed to consumers of FStructuredArchive. Change 3772906 by Graeme.Thornton TextAssetCommandlet - Utility commandlet for testing/converting to text asset format Change 3772932 by Ben.Marsh Fix "String:" prefix not being stripped from escaped string values. Change 3772942 by Graeme.Thornton Add experimental setting to enable in-editor text asset format functionality Add "export to text" option into the content browser asset actions context menu Change 3772955 by Ben.Marsh Add a new "stream" compound type to FStructuredArchive, which allows serializing a sequence of elements similarly to an array, but without serializing an explicit size. Allows passing through data to an underlying binary archive without breaking compatibility. Change 3772963 by Ben.Marsh Allow querying record keys and stream lengths from annotated archive formatters, since these archives have markup for field boundaries. Change 3773010 by Graeme.Thornton Added CORE_API to FArchiveFromStructuredArchive Gave text asset format experimental option a slightly less random tooltip comment Change 3773057 by Ben.Marsh Add a flag to FArchive to determine whether the archive is text (IsTextFormat()). Add support for seeking within FArchiveFromStructuredArchive. For text formats, data is serialized to an in-memory buffer, with names and objects serialized as indices into an array. For non-text formats, data is serialized directly to the underlying archive. Also rename FStructuredArchive::TryEnterSlot() to TryEnterField(). Change 3773118 by Steve.Robb TSignedIntType and TUnsignedIntType type traits for getting an integer type of a given size. Change 3773122 by Steve.Robb TAtomic fixes for pointer arithmetic. TSignedIntType used instead of reimplementing its own trait. Change 3773123 by Steve.Robb Unit tests for TAtomic. Change 3773138 by Steve.Robb Run numeric tests on integer types instead of basic tests. Fix for compiler warnings when subtracting from unsigned atomics. Change 3773166 by Steve.Robb Refactoring of arithmetic operations into its own class, then basing the pointer and integral versions on that. Change 3774216 by Gil.Gribb UE4 - Fix rare crash in the pak precacher immediately after unmounting a pak file. Change 3774426 by Ben.Marsh Copy all C# tools to a staging directory before compiling them. This prevents access violations when compiling tools like iPhonePackager that reference DotNETCommon, and ensures we strip NotForLicensees folders out of them all. See: https://answers.unrealengine.com/questions/726010/418-will-not-build-from-source.html Change 3774658 by Ben.Marsh Improve error reporting while generating intellisense for project files. Include the name of the target being compiled, and allow project file generation to continue without it. Change 3775141 by Ben.Marsh Always output HTML5 diagnostics at "information" verbosity, to avoid every line being prefixed with "WARNING:" and screwing up the EC postprocessor. Change 3775459 by Ben.Marsh Removing .NET Framework Perforce DLL as runtime dependency of engine third party library. The actual library is linked statically. Change 3775522 by Ben.Marsh UGS: Treat .uproject and .uplugin files as code changes. Change 3775597 by Ben.Marsh Fix post-build steps for plugins not being executed. #jira UE-52754 Change 3777895 by Graeme.Thornton StructuredArchiveFromArchive - An adapter class for wrapping an existing FArchive with a structured archive Change 3777931 by Graeme.Thornton Refactored FArchiveUObjects serialization code into some static helpers Added FArchiveUObjectFromStructuredArchive which allows the adaption of a structured archive into an FArchive that supports the extra UObect serialization functions for weak/soft pointers Change 3777942 by Graeme.Thornton Added missing CORE_API to FStructuredArchive::FStream Added FStructuredArchive::FSlot insertion operator for char Added specialization of TArray<uint8> serializer for structured archives which serializes the contents as one value Change 3778084 by Graeme.Thornton Adding FPackageName::GetTextAssetPackageExtension() to access the file extension we use for text asset files Change 3778096 by Graeme.Thornton Add a constructor to FArchiveUObjectFromStructuredArchive that takes a slot and passes it to the base class Change 3778389 by Josh.Engebretson Fix an optimization issue with CPU benchmarking Add better support for debugging/testing local rocket builds UDN Link: https://udn.unrealengine.com/questions/400909/command-scalability-auto-gives-inaccurate-cpu-benc.html #jira UE-52192 Change 3778701 by Josh.Engebretson Ensure plugin content folders are mounted consistently. Fixes TryConvertFilenameToLongPackageName failing to work on plugin assets UDN Link: https://udn.unrealengine.com/questions/276386/tryconvertfilenametolongpackagename-fails-for-plug.html #jira UE-40317 Change 3778832 by Chad.Garyet Adding enterprise path support for PCB's for UGS Change 3780258 by Graeme.Thornton TextAssetCommandlet - Accumulate timings for loading packages and saving packages Change 3780463 by Graeme.Thornton CryptoKeys improvements - Enable CryptoKeys plugin by default - Attempt to inherit settings from the old system by default - Hide ini/index encryption settings from packaging settings and just inherit previous values into new system Minor UBT change to remove a trailing comma from the end of encryption/signing key binary strings Change 3780557 by Ben.Marsh Fix LoginFlow module not being precompiled for the binary release. Change 3780846 by Josh.Engebretson Improve filename to long package name resolution when provided a relative path Change 3780863 by Ben.Marsh UAT: Add a better error message when a C# project has an invalid reference. Change 3780911 by Ben.Marsh Update the BuildEditorAndTools.xml script to allow submitting archived binaries to Perforce. The "Submit To Perforce For UGS" node creates a zip of all the binaries that have been built, and submits it to the stream specified by the 'ArchiveStream' argument. Change 3780956 by Josh.Engebretson Add support for ! (RemoveKey) config command to UBT UDN Link: https://udn.unrealengine.com/questions/397267/index.html #jira UE-52033 Change 3782957 by Robert.Manuszewski UE4 - Fixed a linear search in EDL that caused performance problems for very large maps. Change 3784503 by Ben.Marsh Optimizations for FStructuredArchive: * Store the depth explicitly in element objects, to avoid having to loop through the scope stack to find it. * Prevent shrinking of arrays when removing elements. * Add an inline allocator to the scope and container stacks. Change 3784700 by Ben.Marsh Remove the inline allocator from FStructuredArchive; checking whether the inline or backup allocator is being used is slower than just allocating up-front. Change 3784989 by Ben.Marsh Compile out all the FStructuredArchive validation code when WITH_TEXT_ARCHIVE_SUPPORT = 0. Change 3786860 by Gil.Gribb UE4 - Remove no buffering flag from windows async IO because it disabled the disk cache entirely. Change 3787159 by Ben.Marsh Guard against UE4.0 backwards compatibility path when determining if an engine is a source distribution. Change 3787493 by Josh.Engebretson Parallel pak generation now uses MaxDegreeOfParallelism option which is now set to the number of CPU cores Moved cryptography settings parsing out of threaded CreatePak method to avoid concurrency issue in ConfigCache.TryReadFile Fix for multiple threads parsing ini keys (PR 3995) #PR 3995 #jira 52913 #jira 49503 Change 3787773 by Steve.Robb Fix for missing final values from FOREACH_ENUM_ macros. Change 3788287 by Ben.Marsh TBA: Add checks in debug builds that key names in maps and records for FStructuredArchive are unique. Change 3788678 by Ben.Marsh Fix compile error due to inability to instantiate TArray<> of forward declared struct. Convert set of key names to an array to avoid including Set.h in public header for FStructuredArchive. Change 3789353 by Graeme.Thornton Removed unused/rotten modes from TextAsset commandlet. Used existing "-iterations=n" switch to control a global iteration over the given command. Useful for performance testing. Change 3789396 by Ben.Marsh Move code to validate container keys/sizes into DO_GUARD_SLOW checks, and allocate container metadata instances dynamically to fix problems with references to things not declared in headers that can't be included from StructuredArchive.h Change 3789772 by Ben.Marsh Always strip trailing slashes from the end of paths specified by .build.cs files; they can cause quoted paths to be escaped on the command line. Change 3790003 by Ben.Marsh TBA: Rename FStructuredArchive::EElementType::Object to FStructuredArchive::EElementType::Record. Change 3790051 by Steve.Robb PIE is disabled during a hot reload. Hot reload in editor is disabled during PIE. Hot reload from IDE is deferred until after PIE is exited. Compiling multiple times before a hot reload (e.g. compiling multiple times in PIE) will now load the most recent change. #jira UE-20357 #jira UE-52137 Change 3790709 by Steve.Robb Better move support for TVariant. EVariantTypes switched over to using an enum class to aid debugger visualization. Change 3791422 by Ben.Marsh TBA: Return the type of a field from an annotated archive formatter at the point that we enter it, rather than querying all the time. Change 3791489 by Graeme.Thornton TBA: Change StructuredArchiveFromArchive adapter to use the archive.Open() result directly, now that it's a slot and not a record Change 3792344 by Ben.Marsh Improvements to base64 encoding library. * Now supports encoding and decoding with ANSICHAR and WIDECHAR implementations. * Added support for decoding base-64 blobs without padding marks. * Added support for decoding into pre-allocated buffer. * Added constexpr functions for determining the encoded and maximum decoded size of an input buffer. * Prevent writes past the end of allocated buffer (no longer need to manually remove padding bytes). Change 3792949 by Ben.Marsh TBA: Rename FAnnotatedArchiveFormatter to FAnnotatedStructuredArchiveFormatter. Change 3794078 by Robert.Manuszewski Fixing a crash that could happen when FGCObjects were constructed and destructed when shutting down the engine #jira UE-52392 Change 3794413 by Ben.Marsh TBA: Remove the element type parameter to SetScope(). It isn't really needed; we can just assume the element ID correctly identifies the item on the stack. Change 3794731 by Ben.Marsh TBA: Optimize creation of stack elements for empty slots in FStructuredArchive. This saves a lot of bookkeeping when serializing a large number of individual fields. Since only one slot can be active at a time (and it only exists temporarily, until we write into it), we can just store the element ID assigned to it in a member variable. Change 3795081 by Ben.Marsh UBT: Move LinuxCommon.cs into Platform/Linux folder. Change 3795137 by Ben.Marsh UBT: Allow modules to specify private compiler definitions from the build.cs file, only visible within that module (via the "PrivateDefinitions" property). Change 3795247 by Ben.Marsh Fix missing header when creating a new interface from the editor new code wizard. #jira UE-53174 Change 3796025 by Graeme.Thornton Fixed some deprecated "Definitions" warnings in OpenCV build files Change 3796103 by Graeme.Thornton Disable experimental text asset option - it does nothing useful yet. Change 3796157 by Graeme.Thornton Fix path type mismatch in visual studio source code accessor meaning that the DTE comms wouldn't identify a running instance of VS as having the current solution open. #jira UE-53206 Change 3796315 by Ben.Marsh Move Formatter to the correct position for initializer. #jira UE-53208 Change 3797082 by Ben.Marsh UAT: Work around for exception thrown by launching cook with "-platform=Android_ETC1 -targetplatform=Android -cookflavor=ETC1". Anrdoid_ETC1 is not a valid platform (it's a cook platform), and can't be parsed by UAT. #jira UE-53232 Change 3799050 by Ben.Marsh Make UnrealPak.version files writable for Mac and Linux. Change 3801012 by Graeme.Thornton VSCode - Update source accessor to use code workspace as it's target, rather than just the project directory Change 3801214 by Gil.Gribb UE4 - Remove assert to work around minor problem with lock free lists. #jira UE-49600 Change 3801219 by Steve.Robb WeakObjectPtrs now warn when casting away const. Change 3801299 by Graeme.Thornton Fix quote issue with foreign project build tasks on PC Change 3803292 by Graeme.Thornton Fix crash on startup when using cook-on-the-side. Force a flush of the asset registry background scanning when creating the cook-on-the-side platform registries Change 3803559 by Steve.Robb TSAN fix for FMalloc::MaxSingleAlloc. Change 3803735 by Graeme.Thornton Last set of cryptokeys changes - Added some comments for editor exposed settings - Split "encrypt assets" option into "encrypt uassets" and "encrypt all assets" Change 3803929 by Ben.Marsh UGS: Show an in-place error panel when a project fails to open, allowing the user to retry and have their tabs saved instead of creating a modal dialog. Change 3624590 by Steve.Robb AddReferencedObjects now generates a compile error with containers of UObject*s where the UObjectType is forward-declared, as these which won't be added to the reference collector. Tidy-up of existing calls to AddReferencedObjects. Change 3629473 by Ben.Marsh Build: Rename the option for embedding source server information in PDB files for installed engine builds. Change 3632894 by Steve.Robb VARARG* macros deprecated and usage replaced with variadic templates. Change 3640704 by Steve.Robb MakeWeakObjectPtr added, which deduces a TWeakObjectPtr type from a raw pointer type. Fix to TWeakObjectPtr's constructor which implicitly removed const. Fixes to everything which didn't compile as a result. Change 3650813 by Graeme.Thornton Removed FStartupPackages and associated code Change 3651000 by Ben.Marsh Return the stack size from FPlatformStackWalk::CaptureStackBacktrace() rather than checking for the first null pointer, to prevent truncated callstacks if parts of the stack are zeroed out. #jira UE-49980 Change 3690842 by Steve.Robb FPlatformAtomics::AtomicRead added - needs optimizing. AtomicRead() used in FThreadSafeCounter::GetValue(). Change 3699416 by Steve.Robb Fix to debugger visualization of TArray with a TInlineAllocator or TFixedAllocator. Improved readability of TSparseArray visualization. Change 3720812 by Steve.Robb Atomic functions for 8-bit and 16-bit. Android, Linux and Switch implementations now just use the Clang implementation. AtomicRead64 deprecated in favor of the int64* AtomicRead overload. Change 3722698 by Steve.Robb VS debugger visualizers for TAtomic. Change 3732270 by Steve.Robb Relaxed stores and loads. Change 3749315 by Graeme.Thornton If UAT is invoked with platforms in both the -platform and -targetplatform command line switches, build using all of them rather than just the ones in -targetplatform #jira UE-52034 Change 3750657 by Josh.Engebretson Fixed issue when debugging editor cook/package and project launch operations #jira UE-52207 Change 3758514 by Steve.Robb Fixes to FString::Printf having non-literals being passed as its formatting string. Change 3763356 by Steve.Robb ENamedThreads::RenderThread and ENamedThreads::RenderThread_Local encapsulated by getters and setters. Change 3770549 by Steve.Robb Removal of obsolete PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS and PLATFORM_COMPILER_HAS_AUTO_RETURN_TYPES. Tidy up of existing code which uses it. Change 3770553 by Ben.Marsh Adding structured serialization API to Core/CoreUObject for use with text-based assets. * FStructuredArchive abstracts an archive which is made up of compound types (records, arrays, and maps). Values are stored in slots within these types. * Records are string -> value dictionaries where the key names can be compiled out in non-editor builds or when WITH_TEXT_ARCHIVE_SUPPORT = 0. * Maps are string -> value dictionaries where the key names are present regardless of the build type. * Proxy objects are defined to express the context for serialization (FStructuredArchive::FRecord, FStructuredArchive::FArray, FStructuredArchive::FMap, FStructuredArchive::FSlot) which allows basic validation through static typing. These objects act as lightweight handles, and can be cheaply constructed and passed around on the stack. Most serialization to and from the archive is done through these objects. * Runtime checks perform additional validation to ensure that serialized data is well formed and written in a forward-only manner, regardless of the underlying archive type. * The actual input/output format is determined by a separate interface (FArchiveFormatter). Context validation (always causing matching LeaveArray for every EnterArray, etc...) is done by FStructuredArchive, so implementing these classes is fairly trivial. FArchiveFormatter can be de-virtualized in non-editor builds, where WITH_TEXT_ARCHIVE_SUPPORT = 0. * Includes implementations of FArchiveFormatter for binary and JSON formats. Change 3771105 by Steve.Robb Deprecation warnings for PLATFORM_COMPILER_HAS_AUTO_RETURN_TYPES and PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS. Fix for incorrect warning formatting on Clang platforms. Change 3771520 by Steve.Robb Start moving Clang-using platforms' pre-setup stuff into a Clang-specific header. Change 3771564 by Steve.Robb More common macros moved to the Clang pre-setup header. Change 3771613 by Steve.Robb EMIT_CUSTOM_WARNING_AT_LINE moved to ClangPlatformCompilerPreSetup.h. Change 3772881 by Ben.Marsh Add support for serializing FName and UObject through FStructuredArchive. In order to allow custom linker behavior when serializing objects: * The constructor to JSON input formatter now takes a delegate to convert a string object name into a UObject pointer. * The constructor to tagged binary formatter takes a delegate to serialize a UObject pointer into any form it chooses (likely an integer index into the import table) Object and name types are stored as strings in JSON, using an "Object:" or "Name:" prefix to differentiate them from regular strings. Any strings that already contain one of these prefixes are prepended with a "String:" prefix (as is any string that already has a "String:" prefix). Change 3772941 by Graeme.Thornton Make build work when including StructuredArchive.h from core container types Added standard header to new files Add structured archive serializer for TArray Fix bug in structured archive where containers weren't being popped from the scope stack Change 3772972 by Ben.Marsh Add an adapter which presents a legacy FArchive interface to a FStructuredArchive slot. Data is serialized into this slot as a stream of elements; raw data is buffered up into fixed size chunks, names and objects are serialized separately. When used with FBinaryArchiveFormatter, this should result in all data being passed through to the underlying archive in a backwards compatible way, wiith no additional bookkeeping fields. Change 3773006 by Ben.Marsh Rename FStructuredArchive::FRecord::EnterSlot() to EnterField(). Change 3773013 by Steve.Robb bUseInlining target rule added to UnrealBuildTool, which defaults to true, to allow inlining to be disabled for debugging purposes. Change 3774499 by Ben.Marsh Minor fixes for FStructuredArchive related classes: * Text-based archive formats are now compiled out when WITH_TEXT_ARCHIVE_SUPPORT = 0. * Fixed issue with FTaggedBinaryArchiveFormatter state becoming corrupted when looking ahead at field types. * FArchiveFieldName constructor is now explicit, to fix cases where strings were being passed directly to serialize functions. Change 3774600 by Ben.Marsh Add CopyFormattedData() function, which can copy data from one formatter to another. Add a test case to SerializationAPI that converts from data -> JSON -> binary -> JSON -> data. This function can be used to implement a generic visitor pattern, by implementing a FArchiveFormatter which receives the deserialized data. Change 3789721 by Ben.Marsh TBA: Split FTaggedBinaryArchiveFormatter into separate classes for reading and writing. Change 3789920 by Ben.Marsh TBA: Support automatic coercion between any numeric types in tagged binary archives. Also report the smallest type that can contain a value, rather than just in32/double. #jira UECORE-364 Change 3789982 by Ben.Marsh TBA: Change FStructuredArchive::Open() to return a slot, rather than a record, to make it easier to implement a raw FArchive adapter. Change 3792466 by Ben.Marsh TBA: Better handling of raw data in text based assets. Short sequences of binary data are Base64 encoded as a single string. Longer sequences are stored as an array of Base64 encoded lines, push a SHA1 hash to detect cases where the data was merged incorrectly. In order to allow inference of the correct type for a field, other fields called "Base64" will be escaped to "_Base64", and any field beginning with "_" will have an additional underscore inserted. Reading files back in reverses these transformations. Change 3792935 by Ben.Marsh TBA: Rename FArchiveFormatter to FStructuredArchiveFormatter for consistency with FStructuredArchive. Change 3795100 by Ben.Marsh UBT: Rename the ModuleRules Definitions property to PublicDefinitions, to make its semantics clearer. Change 3795106 by Ben.Marsh Replace all internal usages of ModuleRules.Definitions, and replace it with ModuleRules.PublicDefinitions. Change 3796275 by Ben.Marsh Fix paths to Version.h includes from resource files. Change 3800683 by Josh.Engebretson Remove WER from Mac and Linux crash reports in favor of unified runtime-xml format #jira UE-50073 Change 3803545 by Steve.Robb TWeakObjPtr const-dropping assignment fix. Fixes to change. [CL 3805231 by Ben Marsh in Main branch]
2017-12-12 18:32:45 -05:00
check(IsAligned(BytesToRead, FAES::AESBlockSize));
DecryptData(OversizedBuffer, BytesToRead, EncryptionKeyGuid);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FMemory::Memcpy(Memory, OversizedBuffer + (OriginalOffset - Offset), OriginalSize);
FMemory::Free(OversizedBuffer);
}
else
{
check(IsAligned(OriginalSize, FAES::AESBlockSize));
DecryptData(Memory, OriginalSize, EncryptionKeyGuid);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
}
SetDataComplete();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
FScopeLock Lock(&FPakReadRequestEvent);
bRequestOutstanding = false;
if (WaitEvent)
{
WaitEvent->Trigger();
}
SetAllComplete();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
};
class FPakSizeRequest : public IAsyncReadRequest
{
public:
FPakSizeRequest(FAsyncFileCallBack* CompleteCallback, int64 InFileSize)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
: IAsyncReadRequest(CompleteCallback, true, nullptr)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Size = InFileSize;
SetComplete();
}
virtual void WaitCompletionImpl(float TimeLimitSeconds) override
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
}
virtual void CancelImpl()
{
}
};
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
class FPakProcessedReadRequest : public IAsyncReadRequest
{
FPakAsyncReadFileHandle* Owner;
int64 Offset;
int64 BytesToRead;
FEvent* WaitEvent;
FThreadSafeCounter CompleteRace; // this is used to resolve races with natural completion and cancel; there can be only one.
EAsyncIOPriorityAndFlags PriorityAndFlags;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool bRequestOutstanding;
bool bHasCancelled;
bool bHasCompleted;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
TSet<FCachedAsyncBlock*> MyCanceledBlocks;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
public:
FPakProcessedReadRequest(FPakAsyncReadFileHandle* InOwner, FAsyncFileCallBack* CompleteCallback, int64 InOffset, int64 InBytesToRead, EAsyncIOPriorityAndFlags InPriorityAndFlags, uint8* UserSuppliedMemory)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
: IAsyncReadRequest(CompleteCallback, false, UserSuppliedMemory)
, Owner(InOwner)
, Offset(InOffset)
, BytesToRead(InBytesToRead)
, WaitEvent(nullptr)
, PriorityAndFlags(InPriorityAndFlags)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
, bRequestOutstanding(true)
, bHasCancelled(false)
, bHasCompleted(false)
{
check(Offset >= 0 && BytesToRead > 0);
check( ( PriorityAndFlags & AIOP_FLAG_PRECACHE ) == 0 || !bUserSuppliedMemory); // you never get bits back from a precache request, so why supply memory?
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
virtual ~FPakProcessedReadRequest()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(!MyCanceledBlocks.Num());
if (!bHasCancelled)
{
DoneWithRawRequests();
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (Memory && !bUserSuppliedMemory)
{
// this can happen with a race on cancel, it is ok, they didn't take the memory, free it now
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(BytesToRead > 0);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, BytesToRead);
FMemory::Free(Memory);
}
Memory = nullptr;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
bool WasCanceled()
{
return bHasCancelled;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
virtual void WaitCompletionImpl(float TimeLimitSeconds) override
{
{
FScopeLock Lock(&FPakReadRequestEvent);
if (bRequestOutstanding)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
check(!WaitEvent);
WaitEvent = FPlatformProcess::GetSynchEventFromPool(true);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
if (WaitEvent)
{
if (TimeLimitSeconds == 0.0f)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
WaitEvent->Wait();
check(!bRequestOutstanding);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
else
{
WaitEvent->Wait(TimeLimitSeconds * 1000.0f);
}
FScopeLock Lock(&FPakReadRequestEvent);
FPlatformProcess::ReturnSynchEventToPool(WaitEvent);
WaitEvent = nullptr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
virtual void CancelImpl() override
{
check(!WaitEvent); // you canceled from a different thread that you waited from
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (CompleteRace.Increment() == 1)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (bRequestOutstanding)
{
CancelRawRequests();
if (!MyCanceledBlocks.Num())
{
bRequestOutstanding = false;
SetComplete();
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
void RequestIsComplete()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (CompleteRace.Increment() == 1)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(bRequestOutstanding);
if (!bCanceled && ( PriorityAndFlags & AIOP_FLAG_PRECACHE) == 0 )
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
{
GatherResults();
}
SetDataComplete();
{
FScopeLock Lock(&FPakReadRequestEvent);
bRequestOutstanding = false;
if (WaitEvent)
{
WaitEvent->Trigger();
}
SetAllComplete();
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
}
bool CancelBlockComplete(FCachedAsyncBlock* BlockPtr)
{
check(MyCanceledBlocks.Contains(BlockPtr));
MyCanceledBlocks.Remove(BlockPtr);
if (!MyCanceledBlocks.Num())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
FScopeLock Lock(&FPakReadRequestEvent);
bRequestOutstanding = false;
if (WaitEvent)
{
WaitEvent->Trigger();
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
SetComplete();
return true;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
return false;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
void GatherResults();
void DoneWithRawRequests();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
bool CheckCompletion(const FPakEntry& FileEntry, int32 BlockIndex, TArray<FCachedAsyncBlock*>& Blocks);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
void CancelRawRequests();
};
FAutoConsoleTaskPriority CPrio_AsyncIOCPUWorkTaskPriority(
TEXT("TaskGraph.TaskPriorities.AsyncIOCPUWork"),
TEXT("Task and thread priority for decompression, decryption and signature checking of async IO from a pak file."),
ENamedThreads::BackgroundThreadPriority, // if we have background priority task threads, then use them...
ENamedThreads::NormalTaskPriority, // .. at normal task priority
ENamedThreads::NormalTaskPriority // if we don't have background threads, then use normal priority threads at normal task priority instead
);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
class FAsyncIOCPUWorkTask
{
FPakAsyncReadFileHandle& Owner;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock* BlockPtr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
public:
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FORCEINLINE FAsyncIOCPUWorkTask(FPakAsyncReadFileHandle& InOwner, FCachedAsyncBlock* InBlockPtr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
: Owner(InOwner)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
, BlockPtr(InBlockPtr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
}
static FORCEINLINE TStatId GetStatId()
{
RETURN_QUICK_DECLARE_CYCLE_STAT(FAsyncIOCPUWorkTask, STATGROUP_TaskGraphTasks);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
static FORCEINLINE ENamedThreads::Type GetDesiredThread()
{
return CPrio_AsyncIOCPUWorkTaskPriority.Get();
}
FORCEINLINE static ESubsequentsMode::Type GetSubsequentsMode()
{
return ESubsequentsMode::TrackSubsequents;
}
void DoTask(ENamedThreads::Type CurrentThread, const FGraphEventRef& MyCompletionGraphEvent);
};
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
class FAsyncIOSignatureCheckTask
{
bool bWasCanceled;
IAsyncReadRequest* Request;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
int32 IndexToFill;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
public:
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
FORCEINLINE FAsyncIOSignatureCheckTask(bool bInWasCanceled, IAsyncReadRequest* InRequest, int32 InIndexToFill)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
: bWasCanceled(bInWasCanceled)
, Request(InRequest)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
, IndexToFill(InIndexToFill)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
}
static FORCEINLINE TStatId GetStatId()
{
RETURN_QUICK_DECLARE_CYCLE_STAT(FAsyncIOSignatureCheckTask, STATGROUP_TaskGraphTasks);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
static FORCEINLINE ENamedThreads::Type GetDesiredThread()
{
return CPrio_AsyncIOCPUWorkTaskPriority.Get();
}
FORCEINLINE static ESubsequentsMode::Type GetSubsequentsMode()
{
return ESubsequentsMode::TrackSubsequents;
}
void DoTask(ENamedThreads::Type CurrentThread, const FGraphEventRef& MyCompletionGraphEvent)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
FPakPrecacher::Get().DoSignatureCheck(bWasCanceled, Request, IndexToFill);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
};
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
void FPakPrecacher::StartSignatureCheck(bool bWasCanceled, IAsyncReadRequest* Request, int32 Index)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
TGraphTask<FAsyncIOSignatureCheckTask>::CreateTask().ConstructAndDispatchWhenReady(bWasCanceled, Request, Index);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
void FPakPrecacher::DoSignatureCheck(bool bWasCanceled, IAsyncReadRequest* Request, int32 Index)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
int64 SignatureIndex = -1;
int64 NumSignaturesToCheck = 0;
const uint8* Data = nullptr;
int64 RequestSize = 0;
int64 RequestOffset = 0;
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3358916) #lockdown Nick.Penwarden Change 3358916 on 2017/03/22 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3357395 on 2017/03/21 by Daniel.Lamb Added some more custom stats to the cooker. Only cook the english cook culture when we are running local builds. #!rb Trivial #!test Iterative shared cooked builds paragon Change 3357377 on 2017/03/21 by Daniel.Lamb Added support for packages which fail to load to the package dependency info module #!rb Trivial #!test Cook paragon Change 3356838 on 2017/03/21 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!3rb #!tests na Change 3355306 on 2017/03/20 by Daniel.Lamb Switched PackageDependencyInfo to using Guid instead of entire package hash when generating dependency info. Stopped cooker from collecting garbage while in the editor. Iterative cooks don't resolve string asset references for startup packages. #!rb Trivial #!test Shared precooked build paragon Change 3354527 on 2017/03/20 by Wes.Hunt AnalyticsProvider::SetUserID will now flush any pending events before changing the ID. #!jira AN-1660 #!fyi josh.markiewicz,david.nikdel #!rb josh.markiewicz #!tests ran client connected to Solo vs. AI server Change 3353852 on 2017/03/20 by Benn.Gallagher Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks. #!jira OR-36843, UE-42975 #!rb Martin.Wilson #!tests Editor PIE, -game hero gallery Change 3353048 on 2017/03/18 by Jeff.Williams #!ORION_DG - Merge MAIN @CL 3353033 Change 3352845 on 2017/03/17 by Daniel.Lamb Renamed the ConvertRenderTargetToTexture2D function so that it's obvious it's a editor only feature. #!rb Daniel.Wright #!test Editor paragon Change 3352544 on 2017/03/17 by Daniel.Lamb ADded support for ignoring ini settings incompatbilities when using shared cooked builds. #!rb Trivial #!test Shared cooked build paragon Change 3352285 on 2017/03/17 by Daniel.Lamb Fix client side compilation error to do with render texture conversion function #!rb Trivial #!test Compile Paragon Change 3352141 on 2017/03/17 by Daniel.Lamb Added support for blueprint function to convert a rendertexture to a texture. #!rb Daniel.Wright #!test Run in the editor Change 3351612 on 2017/03/17 by Andrew.Grant Expand EngineDir and ProjectDir variables during AppLocal deployment #!tests Jamie verified packaging Orion via the editor works now #!rb Jamie.Dale Change 3350470 on 2017/03/16 by Laurent.Delayen Fix for PS4 compile. #!rb none #!tests PS4 + non unity Change 3350237 on 2017/03/16 by Andrew.Grant Pak-mounting fix from Dev-Core for OR-36896 #!tests na #!rb GIl.Gribb Change 3350079 on 2017/03/16 by Laurent.Delayen Added 'AnimNotify_PlayMontageNotify' and 'AnimNotify_PlayMontageNotifyWindow' to forward notifies Begin/End to 'PlayMontage' AsyncTask. #!rb lina.halper #!tests Yin's BP Change 3349694 on 2017/03/16 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Exposing copy/paste actions for properties embedded within IDetailGroup header rows #!rb Matt.Kuhlenschmidt #!tests Copy/paste on skin variant primary override rows #!ROBOMERGE-SOURCE: CL 3349513 in //Orion/Dev-REGS/... via CL 3349675 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3349560 on 2017/03/16 by David.Ratti Update GameplayTagReferenceHelper to pass in raw data for owner struct (Rather than having caller pass raw 'this' to delegate). Fixes crashes with resizing lists while making calling code less crappy (avoid having to implement copy cstor and operator to fixup delegate). Added GameplayTagReferenceHelper to gameplay cue classes. #!rb none #!tests editor Change 3349305 on 2017/03/16 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests compiled #!rb na Change 3349189 on 2017/03/16 by Benn.Gallagher Fixed clothing not running in PS4 packaged builds #!rb Martin.Wilson #!jira OR-36680 #!tests PS4 cooked OrionEntry with Shinbi Change 3348659 on 2017/03/15 by Daniel.Lamb Fix compilation errors. #!rb None Change 3348646 on 2017/03/15 by Andrew.Grant Unshelved from pending changelist '3347778': <description: restricted, no permission to view> Change 3348636 on 2017/03/15 by Daniel.Lamb Fixed issue with rebuildlighting commandlet not checking out separate lighting files. #!rb None #!test ResavePackages commandlet Change 3348559 on 2017/03/15 by Daniel.Lamb Fixed up some iterative ini settings blacklist configs. #!rb Trivial #!test Iterative Cook paragon Change 3348379 on 2017/03/15 by Laurent.Delayen Added simple Async Node 'Play Montage' to use outside of gameplay abilities. #!rb none #!tests none Change 3348035 on 2017/03/15 by Ben.Salem Switch automationcheckpoint to being a .log file. Unblocks running on packaged builds in paragon. #!rb none #!tests ran oh so very many tests with the changes. Change 3345982 on 2017/03/14 by Zak.Middleton #!orion - OR-36422: Clamp client net send rate for character movement to 60Hz (down from 90). Integrates CL 3345771 from Dev-Framework which adds engine support for specifying the rate parameters, and sets them in Orion DefaultGame.ini to 1/60 second. #!jira OR-36422 #!tests multi-PIE dedicated server, various framerates, net lag, etc. #!rb Laurent.Delayen #!codereview Laurent.Delayen Change 3345134 on 2017/03/14 by Jordan.Walker mono work Change 3344857 on 2017/03/14 by Martin.Wilson Missing includes for transactor header #!rb none Change 3341860 on 2017/03/10 by Chris.Bunner Partial revert of CL 3339904. Fixed material translation error with multiple connections from custom interpolator nodes. #!rb None #!tests Editor, Known trouble materials with interpolator nodes, With/without material functions Change 3341759 on 2017/03/10 by Daniel.Lamb Fixed up NetworkCompatible version so that it works with UGS. #!rb Trivial #!test Cook ps4 paragon. Change 3341616 on 2017/03/10 by Josh.Markiewicz #!UE4 - added define for OGS feature #!rb none #!codereview sam.zamani #!tests compiles Change 3341612 on 2017/03/10 by Josh.Markiewicz #!UE4 - removed old define #!tests compiles Change 3340180 on 2017/03/09 by Daniel.Lamb Integrate fix for sync loading from main to Dev General. #!rb Ben.Zeigler Change 3339904 on 2017/03/09 by Chris.Bunner Fixed material translation error when custom interpolator node hooked to multiple function outputs. #!rb None #!tests Editor Change 3339280 on 2017/03/09 by Josh.Markiewicz #!UE4 - removed WebBrowser moduel dependency on OnlineSubsystem - added 2 functions to online engine interface #!codereview sam.zamani, ben.marsh Change 3338654 on 2017/03/08 by Daniel.Lamb Fixed up some issues with iterative ini settings. Added support for target platforms exposing which audio formats they use so they can match up supported formats with different machines. #!rb None #!test Cook paragon iteratively Change 3336989 on 2017/03/08 by Ben.Marsh Merging CL 3336693 from Dev-Core: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. #!rb none Change 3336135 on 2017/03/07 by Michael.Trepka Hide GameLayerManager's title bar on exiting PIE #!rb Dan.Hertzka #!tests Tested in the editor on Windows Change 3335324 on 2017/03/07 by Aaron.Eady Chat; Adding AddedItem, CompletedItem, and DiscardedItem to the chat message type enum so we can control the color for each. Set the colors in the Social asset. Creating client record settings for turning on/off the added item, completed item, and discarded item in chat. Put these in the gameplay settings menu. Added horizontal boxes to the gameplay settings menu because we are running out of space. Added a vertical scroll bar to the gameplay settings menu but it doesn't seem to show. Also fixed the horizontal scroll bar at the bottom to be horizontal instead of vertical. #!rb Matt.Schembari #!tests MCP, PIE #!lockdown Nicholas.Davies #!RN Change 3333541 on 2017/03/06 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3333512 #!RB:none #!Tests:none #!codeReview: cameron.winston Change 3332578 on 2017/03/04 by Andrew.Grant Temp Disabled wrong-looking warning #!tests #!rb na #!ROBOMERGE: Main Change 3332555 on 2017/03/04 by Andrew.Grant Proper fix for Tencent DLL issue #!tests #!rb na #!ROBOMERGE: Main Change 3332552 on 2017/03/04 by Andrew.Grant Fix for Tencent DLL issue while staging #!tests none #!rb none #!ROBOMERGE: Main Change 3332216 on 2017/03/03 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3332168 #!RB:none #!Tests:none Change 3332060 on 2017/03/03 by Daniel.Lamb Fixed issue with AsyncLoading code eventually flushing async loading while in async loading... This causes all kinds of cool stuff like objects on the stack corruption and also deleted memory accesses. #!rb Gil.Gribb. #!test Editor and -game Change 3331680 on 2017/03/03 by Jason.Bestimt #!ORION_MAIN - Merge MAIN @ CL 3331636 #!RB:none #!Tests:none #!codeReview: andrew.grant Change 3331412 on 2017/03/03 by James.Hopkin #!orion Rebuilt OpenSSL libs for PS4 to fix process termination due to SIGPIPE on closing websockets Source change committed in CL#!3331380 #!jira OR-36274 #!fyi Paul.Moore Change 3331375 on 2017/03/03 by Sam.Zamani fix dll path for tenproxy #!rb none #!tests none Change 3330953 on 2017/03/02 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3330924 [STOMPED ChestOpeningScreen.uasset] #!RB:none #!Tests:none #!codeReview: bryan.rathman, phil.buuck, matt.schembari, andrew.grant Change 3330646 on 2017/03/02 by Andrew.Grant Warning and non-unity fix #!tests compiled #!rb none Change 3330388 on 2017/03/02 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3329982 on 2017/03/02 by Sam.Zamani fixed updated module rules #!rb none #!tests regen projects Change 3329964 on 2017/03/02 by Sam.Zamani Copying //Tasks/Orion/Dev-Online-Tencent to Dev-General (//Orion/Dev-General) 3245325 Adding new OSS for Tencent online platform 3245448 tencent third party SDK TCLS proxy functionality #!rb none 3245474 missing include #!rb none 3249585 TCLS tenproxy.dll in thirdparty bin folder #!rb none 3249726 Load TenProxy.dll for TCLS integration New OSS Tencent #!rb none 3255571 tencent configs #!rb none 3255826 Tencent TCLS paragon launcher #!rb none 3256168 TCLS launch batch update cmd line options #!rb none 3256170 Added "TencentLive,TencentDev" MCP config entries #!rb none 3256504 xmpp config update #!rb none 3273168 skip login steps for tencent config update #!rb none 3279427 #!xmpp add option to use plain text auth 3279428 disable ssl and use plain text auth for XMPP connection temporary until we have a valid cert setup on Tigase deployment 3281566 enabled OSS tencent this will also be the toggle for detecting when to enable tencent functionality at runtime 3283103 differentiate between tencent dev/live environments disable QoS region selection for tencentdev 3283106 lower http verbosity 3283734 config updates 3285066 disable replays and mtx for tencent build 3291005 #!online,mcp service config bEnabled flag to toggle individual services as needed 3291006 explicitly mark unneeded Mcp services as disabled 3291108 allow replay tab to be disabled via UOrionRuntimeOptions.bEnableReplays=false 3291492 disable recording of replays for tencent mode 3292750 disable replay tab based on bEnableReplays=false 3292753 new orion runtime option bDisallowCoinPurchases if true, prevents coins from being available for purchase 3292755 diable mtx coin offers if bDisallowCoinPurchases=true 3292759 missing header 3293246 disable query for available friend codes if bEnableFriendCodes=false 3293250 temp usage of NULL analytics provider 3298025 Adding optional RegionTencent plugin for overriding config files 3298027 ability to override config cache values via plugin config files 3311016 default to TencentDev backend when running in tencent mode 3311017 CMS tencent config 3311022 Rename RegionTencent to RegionCN 3312470 disable links for tencent build 3313014 move tenproxy.dll to \OrionGame\Binaries\ThirdParty\Tencent 3314861 tenproxy 2.0.2.7 update 3314878 default RegionCN plugin to disabled this will only be enabled once the RegionCN.pak is loaded 3314879 TCLS launcher pointing at UE4Editor.exe for development 3315257 missing file 3323573 remove TCLS launcher 3326006 Tencent TLOG SDK 3326277 wrapper singleton class for tenproxy connection 3329180 Tencent support for login flow 3329181 WIP tenproxy connection usage in identity 3329624 wip tcls proxy #!rb none #!tests none Change 3329651 on 2017/03/02 by Andrew.Grant Merging from //UE4/Main @ 3322856 through Orion-Staging #!tests QA #!rb na Change 3329411 on 2017/03/02 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Duplicating CL 3303733 from Dev-Editor (simple fix for a massive issue) - This will prevent any TAssetPtr property from getting stomped by undo/redo (you know those ridiculous store and card art issues? Fixed!) #!lockdown Jason.Bestimt #!rb none #!tests Undo on an item definition asset #!ROBOMERGE-SOURCE: CL 3329404 in //Orion/Release-38.3/... via CL 3329405 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3328858 on 2017/03/01 by Lina.Halper Fixed crash on importing animation that was edited before #!rb: none #!tests: reimport Change 3328459 on 2017/03/01 by Daniel.Lamb When adding new ddc back ends to the hierarchcial ddc make sure to update the async backends lists. #!codereview Gil.Gribb #!test None #!rb Trivial Change 3328182 on 2017/03/01 by Daniel.Lamb Unshelved from pending changelist '3318009': Adding support for shared cooked builds to be downloaded from the network. Included CookedAssetRegistry in the p:\ published builds. #!rb Ben.Marsh Change 3327856 on 2017/03/01 by Frank.Gigliotti Added velocity overrides to FRK4SpringInterpolator; #!RB None #!codeReview Laurent.Delayen #!Tests PIE Change 3327096 on 2017/03/01 by David.Ratti Added generic reference viewer details customization for gameplay tags. Added it to GameplayStatsMetaData. #!rb none #!tests editor Change 3326177 on 2017/02/28 by Daniel.Lamb Added some more debugging information to help track down live issue. #!rb Chris.Bunner #!test Ran editor. Change 3324951 on 2017/02/28 by David.Ratti UDataTable: added AddRow/RemoveRow native functions. #!rb JB #!tests na Change 3323852 on 2017/02/27 by David.Ratti Fix ::RequestAllGameplayTags OnlyIncludeDictionaryTags option #!codereview Ben.Zeigler #!rb #!tests na Change 3323706 on 2017/02/27 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3323694 #!RB:none #!Tests:none Change 3321945 on 2017/02/24 by Jon.Lietz OR-36258 - fixing an issue where gameplay effects that are set to not refresh the period should not allow the execution of a period effect on application. #!RB David.Ratti #!tests golden path #!codeReview: Billy.Bramer, Fred.Kimberley #!RNX Change 3321876 on 2017/02/24 by Daniel.Lamb Fixed erroronEngineContentUse flag not being set properly. #!rb Trivial #!test Cook Paragon. Change 3321591 on 2017/02/24 by Jason.Bestimt #!ORION_DG - MAIN @ CL 3321563 #!RB:none #!Tests:none Change 3321260 on 2017/02/24 by Andrew.Grant Fixed issue that was causing missing string references to not show their referencer #!rb none Change 3321040 on 2017/02/24 by Robert.Manuszewski Merging changes 3316253 and 3319134 from Dev-Core: fixes to file log hangs and crashes. #!rb none #!tests Cooked Win64 server and client, played cooked Win64 build Change 3319413 on 2017/02/23 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3319394 #!RB:none #!Tests:none Change 3317905 on 2017/02/22 by Daniel.Lamb Integrate CL 3238291 from Odin Add Plugin content to the asset registry Change the location of AssetRegistry.bin when cooking a plugin as DLC Include AssetRegistry.bin in the cooked plugin staging process Add function to PluginManager to keep list of any plugins that loaded a pak file Use list of plugins with pak files to merge their AssetRegistry.bin files into the main AssetRegistry when it's created #!rb Ben.Marsh #!codereview Chance.Ivey, Daniel.Lamb Change 3317648 on 2017/02/22 by Cody.Haskell Instead of popping an external web browser, we use the SWebBrowser widget on GFN. #!rb DanH #!codereview Andrew.Grant, Dan.Hertzka, Matt.Schembari #!tests PIE Change 3317289 on 2017/02/22 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3317254 #!RB:none #!Tests:none Change 3317186 on 2017/02/22 by Mieszko.Zielinski Fixed items that have been force-scored by an EQS test as 'failed' getting discarted even if the test is being run in scoring-only mode #!UE4 #!test golden path #!rb Lukasz.Furman #!codereview Daniel.Broder, John.Abercrombie Change 3317005 on 2017/02/22 by Daniel.Lamb Submitted wrong version of my file. #!rb Trivial #!test Compile Change 3316958 on 2017/02/22 by Daniel.Lamb Added support in buildcookrun for shared cooked builds. #!rb Trivial #!test BuildCookRun iterative script Change 3316942 on 2017/02/22 by Daniel.Lamb DLC cooking optimization. Optimization to determining package dependency tree, now is async. Fixes for iterate shared cooked build. Added fallback when using shared cooked build to local build if local build is newer. Added DLC cooking warning if you are overriding output directories. Removed previous release packages names from DLC asset registry. Only generate manifest for additional assets instead of all assets. Minor optimization to worst case resolving of string asset references. Only resolve those that haven't been resolved before (only happens when GC thrashing happens). #!rb Andrew.Grant #!test Cook paragon [CL 3365166 by Andrew Grant in Main branch]
2017-03-26 15:18:02 -04:00
uint16 PakIndex;
FSHAHash MasterSignatureHash;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
static const int64 MaxHashesToCache = 16;
TPakChunkHash HashCache[MaxHashesToCache];
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
// Try and keep lock for as short a time as possible. Find our request and copy out the data we need
FScopeLock Lock(&CachedFilesScopeLock);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
FRequestToLower& RequestToLower = RequestsToLower[Index];
RequestToLower.RequestHandle = Request;
RequestToLower.Memory = Request->GetReadResults();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
NumSignaturesToCheck = Align(RequestToLower.RequestSize, FPakInfo::MaxChunkDataSize) / FPakInfo::MaxChunkDataSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
check(NumSignaturesToCheck >= 1);
FCacheBlock& Block = CacheBlockAllocator.Get(RequestToLower.BlockIndex);
RequestOffset = GetRequestOffset(Block.OffsetAndPakIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
check((RequestOffset % FPakInfo::MaxChunkDataSize) == 0);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
RequestSize = RequestToLower.RequestSize;
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3358916) #lockdown Nick.Penwarden Change 3358916 on 2017/03/22 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3357395 on 2017/03/21 by Daniel.Lamb Added some more custom stats to the cooker. Only cook the english cook culture when we are running local builds. #!rb Trivial #!test Iterative shared cooked builds paragon Change 3357377 on 2017/03/21 by Daniel.Lamb Added support for packages which fail to load to the package dependency info module #!rb Trivial #!test Cook paragon Change 3356838 on 2017/03/21 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!3rb #!tests na Change 3355306 on 2017/03/20 by Daniel.Lamb Switched PackageDependencyInfo to using Guid instead of entire package hash when generating dependency info. Stopped cooker from collecting garbage while in the editor. Iterative cooks don't resolve string asset references for startup packages. #!rb Trivial #!test Shared precooked build paragon Change 3354527 on 2017/03/20 by Wes.Hunt AnalyticsProvider::SetUserID will now flush any pending events before changing the ID. #!jira AN-1660 #!fyi josh.markiewicz,david.nikdel #!rb josh.markiewicz #!tests ran client connected to Solo vs. AI server Change 3353852 on 2017/03/20 by Benn.Gallagher Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks. #!jira OR-36843, UE-42975 #!rb Martin.Wilson #!tests Editor PIE, -game hero gallery Change 3353048 on 2017/03/18 by Jeff.Williams #!ORION_DG - Merge MAIN @CL 3353033 Change 3352845 on 2017/03/17 by Daniel.Lamb Renamed the ConvertRenderTargetToTexture2D function so that it's obvious it's a editor only feature. #!rb Daniel.Wright #!test Editor paragon Change 3352544 on 2017/03/17 by Daniel.Lamb ADded support for ignoring ini settings incompatbilities when using shared cooked builds. #!rb Trivial #!test Shared cooked build paragon Change 3352285 on 2017/03/17 by Daniel.Lamb Fix client side compilation error to do with render texture conversion function #!rb Trivial #!test Compile Paragon Change 3352141 on 2017/03/17 by Daniel.Lamb Added support for blueprint function to convert a rendertexture to a texture. #!rb Daniel.Wright #!test Run in the editor Change 3351612 on 2017/03/17 by Andrew.Grant Expand EngineDir and ProjectDir variables during AppLocal deployment #!tests Jamie verified packaging Orion via the editor works now #!rb Jamie.Dale Change 3350470 on 2017/03/16 by Laurent.Delayen Fix for PS4 compile. #!rb none #!tests PS4 + non unity Change 3350237 on 2017/03/16 by Andrew.Grant Pak-mounting fix from Dev-Core for OR-36896 #!tests na #!rb GIl.Gribb Change 3350079 on 2017/03/16 by Laurent.Delayen Added 'AnimNotify_PlayMontageNotify' and 'AnimNotify_PlayMontageNotifyWindow' to forward notifies Begin/End to 'PlayMontage' AsyncTask. #!rb lina.halper #!tests Yin's BP Change 3349694 on 2017/03/16 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Exposing copy/paste actions for properties embedded within IDetailGroup header rows #!rb Matt.Kuhlenschmidt #!tests Copy/paste on skin variant primary override rows #!ROBOMERGE-SOURCE: CL 3349513 in //Orion/Dev-REGS/... via CL 3349675 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3349560 on 2017/03/16 by David.Ratti Update GameplayTagReferenceHelper to pass in raw data for owner struct (Rather than having caller pass raw 'this' to delegate). Fixes crashes with resizing lists while making calling code less crappy (avoid having to implement copy cstor and operator to fixup delegate). Added GameplayTagReferenceHelper to gameplay cue classes. #!rb none #!tests editor Change 3349305 on 2017/03/16 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests compiled #!rb na Change 3349189 on 2017/03/16 by Benn.Gallagher Fixed clothing not running in PS4 packaged builds #!rb Martin.Wilson #!jira OR-36680 #!tests PS4 cooked OrionEntry with Shinbi Change 3348659 on 2017/03/15 by Daniel.Lamb Fix compilation errors. #!rb None Change 3348646 on 2017/03/15 by Andrew.Grant Unshelved from pending changelist '3347778': <description: restricted, no permission to view> Change 3348636 on 2017/03/15 by Daniel.Lamb Fixed issue with rebuildlighting commandlet not checking out separate lighting files. #!rb None #!test ResavePackages commandlet Change 3348559 on 2017/03/15 by Daniel.Lamb Fixed up some iterative ini settings blacklist configs. #!rb Trivial #!test Iterative Cook paragon Change 3348379 on 2017/03/15 by Laurent.Delayen Added simple Async Node 'Play Montage' to use outside of gameplay abilities. #!rb none #!tests none Change 3348035 on 2017/03/15 by Ben.Salem Switch automationcheckpoint to being a .log file. Unblocks running on packaged builds in paragon. #!rb none #!tests ran oh so very many tests with the changes. Change 3345982 on 2017/03/14 by Zak.Middleton #!orion - OR-36422: Clamp client net send rate for character movement to 60Hz (down from 90). Integrates CL 3345771 from Dev-Framework which adds engine support for specifying the rate parameters, and sets them in Orion DefaultGame.ini to 1/60 second. #!jira OR-36422 #!tests multi-PIE dedicated server, various framerates, net lag, etc. #!rb Laurent.Delayen #!codereview Laurent.Delayen Change 3345134 on 2017/03/14 by Jordan.Walker mono work Change 3344857 on 2017/03/14 by Martin.Wilson Missing includes for transactor header #!rb none Change 3341860 on 2017/03/10 by Chris.Bunner Partial revert of CL 3339904. Fixed material translation error with multiple connections from custom interpolator nodes. #!rb None #!tests Editor, Known trouble materials with interpolator nodes, With/without material functions Change 3341759 on 2017/03/10 by Daniel.Lamb Fixed up NetworkCompatible version so that it works with UGS. #!rb Trivial #!test Cook ps4 paragon. Change 3341616 on 2017/03/10 by Josh.Markiewicz #!UE4 - added define for OGS feature #!rb none #!codereview sam.zamani #!tests compiles Change 3341612 on 2017/03/10 by Josh.Markiewicz #!UE4 - removed old define #!tests compiles Change 3340180 on 2017/03/09 by Daniel.Lamb Integrate fix for sync loading from main to Dev General. #!rb Ben.Zeigler Change 3339904 on 2017/03/09 by Chris.Bunner Fixed material translation error when custom interpolator node hooked to multiple function outputs. #!rb None #!tests Editor Change 3339280 on 2017/03/09 by Josh.Markiewicz #!UE4 - removed WebBrowser moduel dependency on OnlineSubsystem - added 2 functions to online engine interface #!codereview sam.zamani, ben.marsh Change 3338654 on 2017/03/08 by Daniel.Lamb Fixed up some issues with iterative ini settings. Added support for target platforms exposing which audio formats they use so they can match up supported formats with different machines. #!rb None #!test Cook paragon iteratively Change 3336989 on 2017/03/08 by Ben.Marsh Merging CL 3336693 from Dev-Core: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. #!rb none Change 3336135 on 2017/03/07 by Michael.Trepka Hide GameLayerManager's title bar on exiting PIE #!rb Dan.Hertzka #!tests Tested in the editor on Windows Change 3335324 on 2017/03/07 by Aaron.Eady Chat; Adding AddedItem, CompletedItem, and DiscardedItem to the chat message type enum so we can control the color for each. Set the colors in the Social asset. Creating client record settings for turning on/off the added item, completed item, and discarded item in chat. Put these in the gameplay settings menu. Added horizontal boxes to the gameplay settings menu because we are running out of space. Added a vertical scroll bar to the gameplay settings menu but it doesn't seem to show. Also fixed the horizontal scroll bar at the bottom to be horizontal instead of vertical. #!rb Matt.Schembari #!tests MCP, PIE #!lockdown Nicholas.Davies #!RN Change 3333541 on 2017/03/06 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3333512 #!RB:none #!Tests:none #!codeReview: cameron.winston Change 3332578 on 2017/03/04 by Andrew.Grant Temp Disabled wrong-looking warning #!tests #!rb na #!ROBOMERGE: Main Change 3332555 on 2017/03/04 by Andrew.Grant Proper fix for Tencent DLL issue #!tests #!rb na #!ROBOMERGE: Main Change 3332552 on 2017/03/04 by Andrew.Grant Fix for Tencent DLL issue while staging #!tests none #!rb none #!ROBOMERGE: Main Change 3332216 on 2017/03/03 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3332168 #!RB:none #!Tests:none Change 3332060 on 2017/03/03 by Daniel.Lamb Fixed issue with AsyncLoading code eventually flushing async loading while in async loading... This causes all kinds of cool stuff like objects on the stack corruption and also deleted memory accesses. #!rb Gil.Gribb. #!test Editor and -game Change 3331680 on 2017/03/03 by Jason.Bestimt #!ORION_MAIN - Merge MAIN @ CL 3331636 #!RB:none #!Tests:none #!codeReview: andrew.grant Change 3331412 on 2017/03/03 by James.Hopkin #!orion Rebuilt OpenSSL libs for PS4 to fix process termination due to SIGPIPE on closing websockets Source change committed in CL#!3331380 #!jira OR-36274 #!fyi Paul.Moore Change 3331375 on 2017/03/03 by Sam.Zamani fix dll path for tenproxy #!rb none #!tests none Change 3330953 on 2017/03/02 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3330924 [STOMPED ChestOpeningScreen.uasset] #!RB:none #!Tests:none #!codeReview: bryan.rathman, phil.buuck, matt.schembari, andrew.grant Change 3330646 on 2017/03/02 by Andrew.Grant Warning and non-unity fix #!tests compiled #!rb none Change 3330388 on 2017/03/02 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3329982 on 2017/03/02 by Sam.Zamani fixed updated module rules #!rb none #!tests regen projects Change 3329964 on 2017/03/02 by Sam.Zamani Copying //Tasks/Orion/Dev-Online-Tencent to Dev-General (//Orion/Dev-General) 3245325 Adding new OSS for Tencent online platform 3245448 tencent third party SDK TCLS proxy functionality #!rb none 3245474 missing include #!rb none 3249585 TCLS tenproxy.dll in thirdparty bin folder #!rb none 3249726 Load TenProxy.dll for TCLS integration New OSS Tencent #!rb none 3255571 tencent configs #!rb none 3255826 Tencent TCLS paragon launcher #!rb none 3256168 TCLS launch batch update cmd line options #!rb none 3256170 Added "TencentLive,TencentDev" MCP config entries #!rb none 3256504 xmpp config update #!rb none 3273168 skip login steps for tencent config update #!rb none 3279427 #!xmpp add option to use plain text auth 3279428 disable ssl and use plain text auth for XMPP connection temporary until we have a valid cert setup on Tigase deployment 3281566 enabled OSS tencent this will also be the toggle for detecting when to enable tencent functionality at runtime 3283103 differentiate between tencent dev/live environments disable QoS region selection for tencentdev 3283106 lower http verbosity 3283734 config updates 3285066 disable replays and mtx for tencent build 3291005 #!online,mcp service config bEnabled flag to toggle individual services as needed 3291006 explicitly mark unneeded Mcp services as disabled 3291108 allow replay tab to be disabled via UOrionRuntimeOptions.bEnableReplays=false 3291492 disable recording of replays for tencent mode 3292750 disable replay tab based on bEnableReplays=false 3292753 new orion runtime option bDisallowCoinPurchases if true, prevents coins from being available for purchase 3292755 diable mtx coin offers if bDisallowCoinPurchases=true 3292759 missing header 3293246 disable query for available friend codes if bEnableFriendCodes=false 3293250 temp usage of NULL analytics provider 3298025 Adding optional RegionTencent plugin for overriding config files 3298027 ability to override config cache values via plugin config files 3311016 default to TencentDev backend when running in tencent mode 3311017 CMS tencent config 3311022 Rename RegionTencent to RegionCN 3312470 disable links for tencent build 3313014 move tenproxy.dll to \OrionGame\Binaries\ThirdParty\Tencent 3314861 tenproxy 2.0.2.7 update 3314878 default RegionCN plugin to disabled this will only be enabled once the RegionCN.pak is loaded 3314879 TCLS launcher pointing at UE4Editor.exe for development 3315257 missing file 3323573 remove TCLS launcher 3326006 Tencent TLOG SDK 3326277 wrapper singleton class for tenproxy connection 3329180 Tencent support for login flow 3329181 WIP tenproxy connection usage in identity 3329624 wip tcls proxy #!rb none #!tests none Change 3329651 on 2017/03/02 by Andrew.Grant Merging from //UE4/Main @ 3322856 through Orion-Staging #!tests QA #!rb na Change 3329411 on 2017/03/02 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Duplicating CL 3303733 from Dev-Editor (simple fix for a massive issue) - This will prevent any TAssetPtr property from getting stomped by undo/redo (you know those ridiculous store and card art issues? Fixed!) #!lockdown Jason.Bestimt #!rb none #!tests Undo on an item definition asset #!ROBOMERGE-SOURCE: CL 3329404 in //Orion/Release-38.3/... via CL 3329405 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3328858 on 2017/03/01 by Lina.Halper Fixed crash on importing animation that was edited before #!rb: none #!tests: reimport Change 3328459 on 2017/03/01 by Daniel.Lamb When adding new ddc back ends to the hierarchcial ddc make sure to update the async backends lists. #!codereview Gil.Gribb #!test None #!rb Trivial Change 3328182 on 2017/03/01 by Daniel.Lamb Unshelved from pending changelist '3318009': Adding support for shared cooked builds to be downloaded from the network. Included CookedAssetRegistry in the p:\ published builds. #!rb Ben.Marsh Change 3327856 on 2017/03/01 by Frank.Gigliotti Added velocity overrides to FRK4SpringInterpolator; #!RB None #!codeReview Laurent.Delayen #!Tests PIE Change 3327096 on 2017/03/01 by David.Ratti Added generic reference viewer details customization for gameplay tags. Added it to GameplayStatsMetaData. #!rb none #!tests editor Change 3326177 on 2017/02/28 by Daniel.Lamb Added some more debugging information to help track down live issue. #!rb Chris.Bunner #!test Ran editor. Change 3324951 on 2017/02/28 by David.Ratti UDataTable: added AddRow/RemoveRow native functions. #!rb JB #!tests na Change 3323852 on 2017/02/27 by David.Ratti Fix ::RequestAllGameplayTags OnlyIncludeDictionaryTags option #!codereview Ben.Zeigler #!rb #!tests na Change 3323706 on 2017/02/27 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3323694 #!RB:none #!Tests:none Change 3321945 on 2017/02/24 by Jon.Lietz OR-36258 - fixing an issue where gameplay effects that are set to not refresh the period should not allow the execution of a period effect on application. #!RB David.Ratti #!tests golden path #!codeReview: Billy.Bramer, Fred.Kimberley #!RNX Change 3321876 on 2017/02/24 by Daniel.Lamb Fixed erroronEngineContentUse flag not being set properly. #!rb Trivial #!test Cook Paragon. Change 3321591 on 2017/02/24 by Jason.Bestimt #!ORION_DG - MAIN @ CL 3321563 #!RB:none #!Tests:none Change 3321260 on 2017/02/24 by Andrew.Grant Fixed issue that was causing missing string references to not show their referencer #!rb none Change 3321040 on 2017/02/24 by Robert.Manuszewski Merging changes 3316253 and 3319134 from Dev-Core: fixes to file log hangs and crashes. #!rb none #!tests Cooked Win64 server and client, played cooked Win64 build Change 3319413 on 2017/02/23 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3319394 #!RB:none #!Tests:none Change 3317905 on 2017/02/22 by Daniel.Lamb Integrate CL 3238291 from Odin Add Plugin content to the asset registry Change the location of AssetRegistry.bin when cooking a plugin as DLC Include AssetRegistry.bin in the cooked plugin staging process Add function to PluginManager to keep list of any plugins that loaded a pak file Use list of plugins with pak files to merge their AssetRegistry.bin files into the main AssetRegistry when it's created #!rb Ben.Marsh #!codereview Chance.Ivey, Daniel.Lamb Change 3317648 on 2017/02/22 by Cody.Haskell Instead of popping an external web browser, we use the SWebBrowser widget on GFN. #!rb DanH #!codereview Andrew.Grant, Dan.Hertzka, Matt.Schembari #!tests PIE Change 3317289 on 2017/02/22 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3317254 #!RB:none #!Tests:none Change 3317186 on 2017/02/22 by Mieszko.Zielinski Fixed items that have been force-scored by an EQS test as 'failed' getting discarted even if the test is being run in scoring-only mode #!UE4 #!test golden path #!rb Lukasz.Furman #!codereview Daniel.Broder, John.Abercrombie Change 3317005 on 2017/02/22 by Daniel.Lamb Submitted wrong version of my file. #!rb Trivial #!test Compile Change 3316958 on 2017/02/22 by Daniel.Lamb Added support in buildcookrun for shared cooked builds. #!rb Trivial #!test BuildCookRun iterative script Change 3316942 on 2017/02/22 by Daniel.Lamb DLC cooking optimization. Optimization to determining package dependency tree, now is async. Fixes for iterate shared cooked build. Added fallback when using shared cooked build to local build if local build is newer. Added DLC cooking warning if you are overriding output directories. Removed previous release packages names from DLC asset registry. Only generate manifest for additional assets instead of all assets. Minor optimization to worst case resolving of string asset references. Only resolve those that haven't been resolved before (only happens when GC thrashing happens). #!rb Andrew.Grant #!test Cook paragon [CL 3365166 by Andrew Grant in Main branch]
2017-03-26 15:18:02 -04:00
PakIndex = GetRequestPakIndex(Block.OffsetAndPakIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
Data = RequestToLower.Memory;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
SignatureIndex = RequestOffset / FPakInfo::MaxChunkDataSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
FPakData& PakData = CachedPakData[PakIndex];
MasterSignatureHash = PakData.Signatures.DecryptedHash;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
for (int32 CacheIndex = 0; CacheIndex < FMath::Min(NumSignaturesToCheck, MaxHashesToCache); ++CacheIndex)
{
HashCache[CacheIndex] = PakData.Signatures.ChunkHashes[SignatureIndex + CacheIndex];
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
check(Data);
check(NumSignaturesToCheck > 0);
check(RequestSize > 0);
check(RequestOffset >= 0);
// Hash the contents of the incoming buffer and check that it matches what we expected
for (int64 SignedChunkIndex = 0; SignedChunkIndex < NumSignaturesToCheck; ++SignedChunkIndex, ++SignatureIndex)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
int64 Size = FMath::Min(RequestSize, (int64)FPakInfo::MaxChunkDataSize);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
if ((SignedChunkIndex > 0) && ((SignedChunkIndex % MaxHashesToCache) == 0))
{
FScopeLock Lock(&CachedFilesScopeLock);
FPakData& PakData = CachedPakData[PakIndex];
for (int32 CacheIndex = 0; (CacheIndex < MaxHashesToCache) && ((SignedChunkIndex + CacheIndex) < NumSignaturesToCheck); ++CacheIndex)
{
HashCache[CacheIndex] = PakData.Signatures.ChunkHashes[SignatureIndex + CacheIndex];
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
SCOPE_SECONDS_ACCUMULATOR(STAT_PakCache_SigningChunkHashTime);
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3358916) #lockdown Nick.Penwarden Change 3358916 on 2017/03/22 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3357395 on 2017/03/21 by Daniel.Lamb Added some more custom stats to the cooker. Only cook the english cook culture when we are running local builds. #!rb Trivial #!test Iterative shared cooked builds paragon Change 3357377 on 2017/03/21 by Daniel.Lamb Added support for packages which fail to load to the package dependency info module #!rb Trivial #!test Cook paragon Change 3356838 on 2017/03/21 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!3rb #!tests na Change 3355306 on 2017/03/20 by Daniel.Lamb Switched PackageDependencyInfo to using Guid instead of entire package hash when generating dependency info. Stopped cooker from collecting garbage while in the editor. Iterative cooks don't resolve string asset references for startup packages. #!rb Trivial #!test Shared precooked build paragon Change 3354527 on 2017/03/20 by Wes.Hunt AnalyticsProvider::SetUserID will now flush any pending events before changing the ID. #!jira AN-1660 #!fyi josh.markiewicz,david.nikdel #!rb josh.markiewicz #!tests ran client connected to Solo vs. AI server Change 3353852 on 2017/03/20 by Benn.Gallagher Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks. #!jira OR-36843, UE-42975 #!rb Martin.Wilson #!tests Editor PIE, -game hero gallery Change 3353048 on 2017/03/18 by Jeff.Williams #!ORION_DG - Merge MAIN @CL 3353033 Change 3352845 on 2017/03/17 by Daniel.Lamb Renamed the ConvertRenderTargetToTexture2D function so that it's obvious it's a editor only feature. #!rb Daniel.Wright #!test Editor paragon Change 3352544 on 2017/03/17 by Daniel.Lamb ADded support for ignoring ini settings incompatbilities when using shared cooked builds. #!rb Trivial #!test Shared cooked build paragon Change 3352285 on 2017/03/17 by Daniel.Lamb Fix client side compilation error to do with render texture conversion function #!rb Trivial #!test Compile Paragon Change 3352141 on 2017/03/17 by Daniel.Lamb Added support for blueprint function to convert a rendertexture to a texture. #!rb Daniel.Wright #!test Run in the editor Change 3351612 on 2017/03/17 by Andrew.Grant Expand EngineDir and ProjectDir variables during AppLocal deployment #!tests Jamie verified packaging Orion via the editor works now #!rb Jamie.Dale Change 3350470 on 2017/03/16 by Laurent.Delayen Fix for PS4 compile. #!rb none #!tests PS4 + non unity Change 3350237 on 2017/03/16 by Andrew.Grant Pak-mounting fix from Dev-Core for OR-36896 #!tests na #!rb GIl.Gribb Change 3350079 on 2017/03/16 by Laurent.Delayen Added 'AnimNotify_PlayMontageNotify' and 'AnimNotify_PlayMontageNotifyWindow' to forward notifies Begin/End to 'PlayMontage' AsyncTask. #!rb lina.halper #!tests Yin's BP Change 3349694 on 2017/03/16 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Exposing copy/paste actions for properties embedded within IDetailGroup header rows #!rb Matt.Kuhlenschmidt #!tests Copy/paste on skin variant primary override rows #!ROBOMERGE-SOURCE: CL 3349513 in //Orion/Dev-REGS/... via CL 3349675 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3349560 on 2017/03/16 by David.Ratti Update GameplayTagReferenceHelper to pass in raw data for owner struct (Rather than having caller pass raw 'this' to delegate). Fixes crashes with resizing lists while making calling code less crappy (avoid having to implement copy cstor and operator to fixup delegate). Added GameplayTagReferenceHelper to gameplay cue classes. #!rb none #!tests editor Change 3349305 on 2017/03/16 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests compiled #!rb na Change 3349189 on 2017/03/16 by Benn.Gallagher Fixed clothing not running in PS4 packaged builds #!rb Martin.Wilson #!jira OR-36680 #!tests PS4 cooked OrionEntry with Shinbi Change 3348659 on 2017/03/15 by Daniel.Lamb Fix compilation errors. #!rb None Change 3348646 on 2017/03/15 by Andrew.Grant Unshelved from pending changelist '3347778': <description: restricted, no permission to view> Change 3348636 on 2017/03/15 by Daniel.Lamb Fixed issue with rebuildlighting commandlet not checking out separate lighting files. #!rb None #!test ResavePackages commandlet Change 3348559 on 2017/03/15 by Daniel.Lamb Fixed up some iterative ini settings blacklist configs. #!rb Trivial #!test Iterative Cook paragon Change 3348379 on 2017/03/15 by Laurent.Delayen Added simple Async Node 'Play Montage' to use outside of gameplay abilities. #!rb none #!tests none Change 3348035 on 2017/03/15 by Ben.Salem Switch automationcheckpoint to being a .log file. Unblocks running on packaged builds in paragon. #!rb none #!tests ran oh so very many tests with the changes. Change 3345982 on 2017/03/14 by Zak.Middleton #!orion - OR-36422: Clamp client net send rate for character movement to 60Hz (down from 90). Integrates CL 3345771 from Dev-Framework which adds engine support for specifying the rate parameters, and sets them in Orion DefaultGame.ini to 1/60 second. #!jira OR-36422 #!tests multi-PIE dedicated server, various framerates, net lag, etc. #!rb Laurent.Delayen #!codereview Laurent.Delayen Change 3345134 on 2017/03/14 by Jordan.Walker mono work Change 3344857 on 2017/03/14 by Martin.Wilson Missing includes for transactor header #!rb none Change 3341860 on 2017/03/10 by Chris.Bunner Partial revert of CL 3339904. Fixed material translation error with multiple connections from custom interpolator nodes. #!rb None #!tests Editor, Known trouble materials with interpolator nodes, With/without material functions Change 3341759 on 2017/03/10 by Daniel.Lamb Fixed up NetworkCompatible version so that it works with UGS. #!rb Trivial #!test Cook ps4 paragon. Change 3341616 on 2017/03/10 by Josh.Markiewicz #!UE4 - added define for OGS feature #!rb none #!codereview sam.zamani #!tests compiles Change 3341612 on 2017/03/10 by Josh.Markiewicz #!UE4 - removed old define #!tests compiles Change 3340180 on 2017/03/09 by Daniel.Lamb Integrate fix for sync loading from main to Dev General. #!rb Ben.Zeigler Change 3339904 on 2017/03/09 by Chris.Bunner Fixed material translation error when custom interpolator node hooked to multiple function outputs. #!rb None #!tests Editor Change 3339280 on 2017/03/09 by Josh.Markiewicz #!UE4 - removed WebBrowser moduel dependency on OnlineSubsystem - added 2 functions to online engine interface #!codereview sam.zamani, ben.marsh Change 3338654 on 2017/03/08 by Daniel.Lamb Fixed up some issues with iterative ini settings. Added support for target platforms exposing which audio formats they use so they can match up supported formats with different machines. #!rb None #!test Cook paragon iteratively Change 3336989 on 2017/03/08 by Ben.Marsh Merging CL 3336693 from Dev-Core: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. #!rb none Change 3336135 on 2017/03/07 by Michael.Trepka Hide GameLayerManager's title bar on exiting PIE #!rb Dan.Hertzka #!tests Tested in the editor on Windows Change 3335324 on 2017/03/07 by Aaron.Eady Chat; Adding AddedItem, CompletedItem, and DiscardedItem to the chat message type enum so we can control the color for each. Set the colors in the Social asset. Creating client record settings for turning on/off the added item, completed item, and discarded item in chat. Put these in the gameplay settings menu. Added horizontal boxes to the gameplay settings menu because we are running out of space. Added a vertical scroll bar to the gameplay settings menu but it doesn't seem to show. Also fixed the horizontal scroll bar at the bottom to be horizontal instead of vertical. #!rb Matt.Schembari #!tests MCP, PIE #!lockdown Nicholas.Davies #!RN Change 3333541 on 2017/03/06 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3333512 #!RB:none #!Tests:none #!codeReview: cameron.winston Change 3332578 on 2017/03/04 by Andrew.Grant Temp Disabled wrong-looking warning #!tests #!rb na #!ROBOMERGE: Main Change 3332555 on 2017/03/04 by Andrew.Grant Proper fix for Tencent DLL issue #!tests #!rb na #!ROBOMERGE: Main Change 3332552 on 2017/03/04 by Andrew.Grant Fix for Tencent DLL issue while staging #!tests none #!rb none #!ROBOMERGE: Main Change 3332216 on 2017/03/03 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3332168 #!RB:none #!Tests:none Change 3332060 on 2017/03/03 by Daniel.Lamb Fixed issue with AsyncLoading code eventually flushing async loading while in async loading... This causes all kinds of cool stuff like objects on the stack corruption and also deleted memory accesses. #!rb Gil.Gribb. #!test Editor and -game Change 3331680 on 2017/03/03 by Jason.Bestimt #!ORION_MAIN - Merge MAIN @ CL 3331636 #!RB:none #!Tests:none #!codeReview: andrew.grant Change 3331412 on 2017/03/03 by James.Hopkin #!orion Rebuilt OpenSSL libs for PS4 to fix process termination due to SIGPIPE on closing websockets Source change committed in CL#!3331380 #!jira OR-36274 #!fyi Paul.Moore Change 3331375 on 2017/03/03 by Sam.Zamani fix dll path for tenproxy #!rb none #!tests none Change 3330953 on 2017/03/02 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3330924 [STOMPED ChestOpeningScreen.uasset] #!RB:none #!Tests:none #!codeReview: bryan.rathman, phil.buuck, matt.schembari, andrew.grant Change 3330646 on 2017/03/02 by Andrew.Grant Warning and non-unity fix #!tests compiled #!rb none Change 3330388 on 2017/03/02 by Andrew.Grant Merging //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3329982 on 2017/03/02 by Sam.Zamani fixed updated module rules #!rb none #!tests regen projects Change 3329964 on 2017/03/02 by Sam.Zamani Copying //Tasks/Orion/Dev-Online-Tencent to Dev-General (//Orion/Dev-General) 3245325 Adding new OSS for Tencent online platform 3245448 tencent third party SDK TCLS proxy functionality #!rb none 3245474 missing include #!rb none 3249585 TCLS tenproxy.dll in thirdparty bin folder #!rb none 3249726 Load TenProxy.dll for TCLS integration New OSS Tencent #!rb none 3255571 tencent configs #!rb none 3255826 Tencent TCLS paragon launcher #!rb none 3256168 TCLS launch batch update cmd line options #!rb none 3256170 Added "TencentLive,TencentDev" MCP config entries #!rb none 3256504 xmpp config update #!rb none 3273168 skip login steps for tencent config update #!rb none 3279427 #!xmpp add option to use plain text auth 3279428 disable ssl and use plain text auth for XMPP connection temporary until we have a valid cert setup on Tigase deployment 3281566 enabled OSS tencent this will also be the toggle for detecting when to enable tencent functionality at runtime 3283103 differentiate between tencent dev/live environments disable QoS region selection for tencentdev 3283106 lower http verbosity 3283734 config updates 3285066 disable replays and mtx for tencent build 3291005 #!online,mcp service config bEnabled flag to toggle individual services as needed 3291006 explicitly mark unneeded Mcp services as disabled 3291108 allow replay tab to be disabled via UOrionRuntimeOptions.bEnableReplays=false 3291492 disable recording of replays for tencent mode 3292750 disable replay tab based on bEnableReplays=false 3292753 new orion runtime option bDisallowCoinPurchases if true, prevents coins from being available for purchase 3292755 diable mtx coin offers if bDisallowCoinPurchases=true 3292759 missing header 3293246 disable query for available friend codes if bEnableFriendCodes=false 3293250 temp usage of NULL analytics provider 3298025 Adding optional RegionTencent plugin for overriding config files 3298027 ability to override config cache values via plugin config files 3311016 default to TencentDev backend when running in tencent mode 3311017 CMS tencent config 3311022 Rename RegionTencent to RegionCN 3312470 disable links for tencent build 3313014 move tenproxy.dll to \OrionGame\Binaries\ThirdParty\Tencent 3314861 tenproxy 2.0.2.7 update 3314878 default RegionCN plugin to disabled this will only be enabled once the RegionCN.pak is loaded 3314879 TCLS launcher pointing at UE4Editor.exe for development 3315257 missing file 3323573 remove TCLS launcher 3326006 Tencent TLOG SDK 3326277 wrapper singleton class for tenproxy connection 3329180 Tencent support for login flow 3329181 WIP tenproxy connection usage in identity 3329624 wip tcls proxy #!rb none #!tests none Change 3329651 on 2017/03/02 by Andrew.Grant Merging from //UE4/Main @ 3322856 through Orion-Staging #!tests QA #!rb na Change 3329411 on 2017/03/02 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Duplicating CL 3303733 from Dev-Editor (simple fix for a massive issue) - This will prevent any TAssetPtr property from getting stomped by undo/redo (you know those ridiculous store and card art issues? Fixed!) #!lockdown Jason.Bestimt #!rb none #!tests Undo on an item definition asset #!ROBOMERGE-SOURCE: CL 3329404 in //Orion/Release-38.3/... via CL 3329405 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3328858 on 2017/03/01 by Lina.Halper Fixed crash on importing animation that was edited before #!rb: none #!tests: reimport Change 3328459 on 2017/03/01 by Daniel.Lamb When adding new ddc back ends to the hierarchcial ddc make sure to update the async backends lists. #!codereview Gil.Gribb #!test None #!rb Trivial Change 3328182 on 2017/03/01 by Daniel.Lamb Unshelved from pending changelist '3318009': Adding support for shared cooked builds to be downloaded from the network. Included CookedAssetRegistry in the p:\ published builds. #!rb Ben.Marsh Change 3327856 on 2017/03/01 by Frank.Gigliotti Added velocity overrides to FRK4SpringInterpolator; #!RB None #!codeReview Laurent.Delayen #!Tests PIE Change 3327096 on 2017/03/01 by David.Ratti Added generic reference viewer details customization for gameplay tags. Added it to GameplayStatsMetaData. #!rb none #!tests editor Change 3326177 on 2017/02/28 by Daniel.Lamb Added some more debugging information to help track down live issue. #!rb Chris.Bunner #!test Ran editor. Change 3324951 on 2017/02/28 by David.Ratti UDataTable: added AddRow/RemoveRow native functions. #!rb JB #!tests na Change 3323852 on 2017/02/27 by David.Ratti Fix ::RequestAllGameplayTags OnlyIncludeDictionaryTags option #!codereview Ben.Zeigler #!rb #!tests na Change 3323706 on 2017/02/27 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3323694 #!RB:none #!Tests:none Change 3321945 on 2017/02/24 by Jon.Lietz OR-36258 - fixing an issue where gameplay effects that are set to not refresh the period should not allow the execution of a period effect on application. #!RB David.Ratti #!tests golden path #!codeReview: Billy.Bramer, Fred.Kimberley #!RNX Change 3321876 on 2017/02/24 by Daniel.Lamb Fixed erroronEngineContentUse flag not being set properly. #!rb Trivial #!test Cook Paragon. Change 3321591 on 2017/02/24 by Jason.Bestimt #!ORION_DG - MAIN @ CL 3321563 #!RB:none #!Tests:none Change 3321260 on 2017/02/24 by Andrew.Grant Fixed issue that was causing missing string references to not show their referencer #!rb none Change 3321040 on 2017/02/24 by Robert.Manuszewski Merging changes 3316253 and 3319134 from Dev-Core: fixes to file log hangs and crashes. #!rb none #!tests Cooked Win64 server and client, played cooked Win64 build Change 3319413 on 2017/02/23 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3319394 #!RB:none #!Tests:none Change 3317905 on 2017/02/22 by Daniel.Lamb Integrate CL 3238291 from Odin Add Plugin content to the asset registry Change the location of AssetRegistry.bin when cooking a plugin as DLC Include AssetRegistry.bin in the cooked plugin staging process Add function to PluginManager to keep list of any plugins that loaded a pak file Use list of plugins with pak files to merge their AssetRegistry.bin files into the main AssetRegistry when it's created #!rb Ben.Marsh #!codereview Chance.Ivey, Daniel.Lamb Change 3317648 on 2017/02/22 by Cody.Haskell Instead of popping an external web browser, we use the SWebBrowser widget on GFN. #!rb DanH #!codereview Andrew.Grant, Dan.Hertzka, Matt.Schembari #!tests PIE Change 3317289 on 2017/02/22 by Jason.Bestimt #!ORION_DG - Merge MAIN @ CL 3317254 #!RB:none #!Tests:none Change 3317186 on 2017/02/22 by Mieszko.Zielinski Fixed items that have been force-scored by an EQS test as 'failed' getting discarted even if the test is being run in scoring-only mode #!UE4 #!test golden path #!rb Lukasz.Furman #!codereview Daniel.Broder, John.Abercrombie Change 3317005 on 2017/02/22 by Daniel.Lamb Submitted wrong version of my file. #!rb Trivial #!test Compile Change 3316958 on 2017/02/22 by Daniel.Lamb Added support in buildcookrun for shared cooked builds. #!rb Trivial #!test BuildCookRun iterative script Change 3316942 on 2017/02/22 by Daniel.Lamb DLC cooking optimization. Optimization to determining package dependency tree, now is async. Fixes for iterate shared cooked build. Added fallback when using shared cooked build to local build if local build is newer. Added DLC cooking warning if you are overriding output directories. Removed previous release packages names from DLC asset registry. Only generate manifest for additional assets instead of all assets. Minor optimization to worst case resolving of string asset references. Only resolve those that haven't been resolved before (only happens when GC thrashing happens). #!rb Andrew.Grant #!test Cook paragon [CL 3365166 by Andrew Grant in Main branch]
2017-03-26 15:18:02 -04:00
TPakChunkHash ThisHash = ComputePakChunkHash(Data, Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
bool bChunkHashesMatch = (ThisHash == HashCache[SignedChunkIndex % MaxHashesToCache]);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (!bChunkHashesMatch)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FScopeLock Lock(&CachedFilesScopeLock);
FPakData* PakData = &CachedPakData[PakIndex];
UE_LOG(LogPakFile, Warning, TEXT("Pak chunk signing mismatch on chunk [%i/%i]! Expected 0x%8X, Received 0x%8X"), SignatureIndex, PakData->Signatures.ChunkHashes.Num(), *LexToString(PakData->Signatures.ChunkHashes[SignatureIndex]), *LexToString(ThisHash));
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
// Check the signatures are still as we expected them
if (PakData->Signatures.DecryptedHash != PakData->Signatures.ComputeCurrentMasterHash())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
{
UE_LOG(LogPakFile, Warning, TEXT("Master signature table has changed since initialization!"));
}
FPakChunkSignatureCheckFailedData FailedData(PakData->Name.ToString(), HashCache[SignedChunkIndex % MaxHashesToCache], ThisHash, SignatureIndex);
FPakPlatformFile::GetPakChunkSignatureCheckFailedHandler().Broadcast(FailedData);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
}
INC_MEMORY_STAT_BY(STAT_PakCache_SigningChunkHashSize, Size);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
RequestOffset += Size;
Data += Size;
RequestSize -= Size;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3283640) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229011 on 2016/12/09 by Steve.Robb Licensee version updated in FWorldTileInfo::Read(). https://udn.unrealengine.com/questions/325874/fworldtileinfo-not-passing-fileversionlicenseeue4.html Change 3230493 on 2016/12/12 by Robert.Manuszewski Adding a check against assembling the reference token stream while streaming without locking GC. Change 3230515 on 2016/12/12 by Steve.Robb GetStaticEnum and GetStaticStruct removed. Various generated code tidy-ups. Change 3230522 on 2016/12/12 by Steve.Robb UHT no longer complains about bases with different prefixes. References to obsolete DependsOn removed. Change 3230528 on 2016/12/12 by Steve.Robb ReferenceChainSearch tidyups. Change 3234235 on 2016/12/14 by Robert.Manuszewski PR #2695: fix comments (Contributed by wyhily2010) Change 3234237 on 2016/12/14 by Robert.Manuszewski PR #2614: [GenericPlatformFile] New Function, GetTimeStampLocal, returns file time stamp in local time instead of UTC  Rama (Contributed by EverNewJoy) Change 3236214 on 2016/12/15 by Robert.Manuszewski PR# 1988 : Allow absolute path in -UserDir=<Path> argument (contributed by bozaro) Change 3236582 on 2016/12/15 by Robert.Manuszewski Allow commandline use in shipping builds #jira UE-24613 Change 3236591 on 2016/12/15 by Robert.Manuszewski Removed unnecessary console variable logspam #jira UE-24614 Change 3236737 on 2016/12/15 by Steve.Robb Fixes to non-contiguous enums in OSS. Change 3239686 on 2016/12/19 by Chris.Wood Fixed CompressionHelper method UE4CompressFileGZIP() that leaked a file handle when a compression error occurred (CRP v1.2.12) [UE-39910] - CrashReportProcess leaks file handles and doesn't cleanup folders after compression fails during output to S3 Change 3240687 on 2016/12/20 by Chris.Wood Improved CrashReportProcess retry logic to avoid stuck threads when CRW fails to add crashes (CRP 1.2.13) [UE-39941] - Improve CrashReportProcess retry logic when CR website returns failed response to AddCrash Request Change 3246347 on 2017/01/04 by Steve.Robb Readability, debuggability and standards improvements. Change 3249122 on 2017/01/06 by Steve.Robb Generic FPaths::Combine, allowing a mix of string argument types and unlimited arity. Change 3249580 on 2017/01/06 by Steve.Robb Fix for TArray::HeapSort when array contains pointers. See: https://answers.unrealengine.com/questions/545533/bug-heapsort-with-tarray-of-pointers-fails-to-comp.html Change 3250593 on 2017/01/09 by Robert.Manuszewski PR #3046: UE-39578: Added none to invalid filenames (Contributed by projectgheist) Change 3250596 on 2017/01/09 by Robert.Manuszewski PR #3094: Fixing typo in comments for LODColoration in BaseEngine.ini - UE-40196 (Contributed by sanjay-nambiar) Change 3250599 on 2017/01/09 by Robert.Manuszewski PR #3096: Fixed Log message in ExclusiveLoadPackageTimeTracker : UE-37583 (Contributed by sanjay-nambiar) Change 3250863 on 2017/01/09 by Steve.Robb Build configuration option to force the use of the Debug version of UnrealHeaderTool. Change 3250994 on 2017/01/09 by Ben.Zeigler Remove bad or redundant ini redirects. These did not work with the old system but were silently ignored, my new system throws warnings about them Change 3251000 on 2017/01/09 by Ben.Zeigler #jira UE-39599 Add FCoreRedirects which replaces and unifies the redirect systems in LinkerLoad, K2Node, Enum, and TaggedProperty. This fixes various bugs and makes things uniform. It will parse the previous ini files, or load out of a [CoreRedirects] section in any loaded ini file The old redirect system can be re-enabled by setting USE_CORE_REDIRECTS to 0 in CoreRedirects.h. This will be removed eventually Some refactors to pass in information needed by the new system that the old system didn't need Add LoadTimeVerbose stats for processing redirects and enable that group during -LoadTimeFile Change 3253580 on 2017/01/11 by Graeme.Thornton Added some validation of the class index in exportmap entries #jira UE-37873 Change 3253777 on 2017/01/11 by Graeme.Thornton Increase SerialSize and SerialOffset in FObjectExport to 64bits, to handle super large files #jira UE-39946 Change 3257750 on 2017/01/13 by Ben.Zeigler Fix issue where incorrectly set up animation node redirects (were ActiveClassRedirects, should have been ActiveStructRedirects) didn't work in the new redirect system because it validated more. Added backward compatibilty code and fixed some conflicts in the ini. Change 3261176 on 2017/01/17 by Ben.Zeigler #jira UE-40746 Fix redundant ini redirect #jira UE-40725 Fix section of Match3 defaultengine.ini that appears to have been accidentally duplicated from baseengine.ini several years ago Change 3261915 on 2017/01/18 by Steve.Robb Fixes to localized printf formats. Change 3262142 on 2017/01/18 by Ben.Zeigler Remove runtime code for old ActiveClassRedirects and related systems. It was already disabled and the old ini format is still parsed and converted to FCoreRedirects at runtime so there should be no functionality change. Merged the deprecated tagged property and enum redirect ini parsing into LinkerLoad, and remove the RemapImports step entirely as it's part of FixupImportMap. Change 3263596 on 2017/01/19 by Gil.Gribb UE4 - Fixed many bugs with the event driven loader and allowed it to work at boot time. Change 3263597 on 2017/01/19 by Gil.Gribb UE4 - Allowed UnrealPak to do a better job with EDL pak files when the order provided is old or from the cooker. Several minor tweaks to low level async IO stuff in support of switch experiments. Change 3263922 on 2017/01/19 by Gil.Gribb UE4 - Fixed a bug with nativized blueprints that was introduced with the boot time EDL changes. Change 3264131 on 2017/01/19 by Robert.Manuszewski Simple app to test hard to repro bugs Change 3264849 on 2017/01/19 by Ben.Zeigler Change FParse::Value to treat ) like , for parsing to handle config parsing struct format. This fixes cases where lines end with bool or FName variables that aren't written out quoted: +ClassRedirects=(OldName="LandscapeProxy",NewName="LandscapeStreamingProxy",InstanceOnly=True) Change 3265232 on 2017/01/19 by Ben.Zeigler #jira UE-39599 Finish class redirect refactor by cleaning up BaseEngine.ini Move plugin-specific redirects to new plugin ini files Move all redirects from BaseEngine.ini prior to 4.11 to native registration in FCoreRedirects. Needed to split up functions to avoid long compile times Move all redirects after 4.11 to new ini format Some related blueprint fixup code changes, these weren't cooperating well with some ini redirects Change 3265490 on 2017/01/20 by Steve.Robb Prevent engine reinstancing on hot reload. #jira UE-40765 Change 3265593 on 2017/01/20 by Gil.Gribb UE4 - Stored a copy of the callback in async read request so that we don't need to worry about lifetime so we can capture variables as needed. Also fixed race in audio streaming. Change 3266003 on 2017/01/20 by Gil.Gribb UE4 - Fixed bug which would cause a fatal error when cooking subobjects that were pending kill. Change 3267433 on 2017/01/22 by Gil.Gribb UE4 - Fixed a bug with EDL at boot time which caused a fatal error with unfired imports. Change 3267677 on 2017/01/23 by Steve.Robb Fix for whitespace before UCLASS() causing compile errors. #jira UE-24110 Change 3267685 on 2017/01/23 by Steve.Robb First pass of fixes to printf-style calls to only use TCHAR[] specifiers. Change 3267746 on 2017/01/23 by Steven.Hutton Resolve offline work Changes to repositories to support better handling of db connections. Change 3267865 on 2017/01/23 by Steve.Robb Clarification of TArray::FindLastByPredicate() and FString::FindLastCharByPredicate(). #fyi nick.darnell Change 3268075 on 2017/01/23 by Gil.Gribb UE4 - Fixed another bug with RF_PendingKill subobjects and the new loader. Change 3268447 on 2017/01/23 by Gil.Gribb Fortnite - Removed calls to ::StaticClass() before main starts; this is not allowed. Change 3269491 on 2017/01/24 by Gil.Gribb UE4 - Cancelling async loading with the EDL loader now prints a warning and does a flush instead. Change 3269492 on 2017/01/24 by Gil.Gribb UE4 - Suppressed a few EDL cook wanrings. Change 3270085 on 2017/01/24 by Gil.Gribb UE4 - Remove pak highwater spam. Change 3270089 on 2017/01/24 by Gil.Gribb UE4 - fix random bug with memory counting and some vertex buffer Change 3271246 on 2017/01/25 by Chris.Wood Fixed CrashReportProcess pipeline for Mac and Linux crashes lacking machine Ids (CRP v1.2.14) [UE-40605] - Machine ID is not being shown on the crashreporter website Change 3271827 on 2017/01/25 by Steve.Robb C4946 warning disabled in third party headers (triggers in Clang/LLVM). Change 3271874 on 2017/01/25 by Steve.Robb Fix for missing error check after header preparsing. Change 3271911 on 2017/01/25 by Steve.Robb ObjectMacros.h now automatically included by generated headers. #fyi jamie.dale Change 3273125 on 2017/01/26 by Steve.Robb Check to ensure that a .generated.h header is included by headers which have exported types, to avoid crazy compiler errors. #fyi james.golding Change 3273209 on 2017/01/26 by Steve.Robb UnrealCodeAnalyzer compilation fixes. Change 3274917 on 2017/01/27 by Steve.Robb GC disabled when recompiling child BPs, as is already the case for the parent (CL# 2731120). Now-unused field removed. Change 3279091 on 2017/01/31 by Ben.Marsh UBT: Remove code paths which assume relative paths based on a particular CWD. Use the absolute paths stored in UnrealBuildTool.RootDirectory/UnrealBuildTool.EngineDirectory instead. Change 3279195 on 2017/01/31 by Gil.Gribb Turned EDL on for orion Change 3279493 on 2017/01/31 by Ben.Zeigler #jira UE-41341 Redo redirector fixups that got undone in merge from Main Change 3280284 on 2017/01/31 by Ben.Zeigler #jira UE-41357 Fix typo in vehicle redirect. Also fix base crash when converting old content with nodes that don't exist. Fix issues with loading plugin ini files. They weren't properly "diffing" against the base/default source file so my redirect typo fix didn't propagate. Some general config system refactors on Josh's advice, and make base.ini optional if reading out of a non-standard engine directory Engine plugin ini are now BasePlugin.ini, game plugins are still DefaultPlugin.ini. Fix crash when loading old content pointing to nonexistent node type. It will still error/ensure but won't crash. Change 3280299 on 2017/01/31 by Gil.Gribb possibly fix edl at boot with orion server....though was no-repro Change 3280386 on 2017/01/31 by Ben.Zeigler Header include fixes for -nopch, fixes incremental build Change 3280557 on 2017/01/31 by Ben.Zeigler Fix Config crash. FConfigFile's copy constructor is apparently not safe and resulted in garbage memory in some cases Change 3280817 on 2017/02/01 by Steve.Robb Unused SmartCastProperty removed. Change 3280897 on 2017/02/01 by Chris.Wood Improved CRP shutdown code to abort AddCrash requests when cancel is requested (CRP v1.2.15) [UE-41338] - Fix CRP shutdown when website isn't accepting new crashes Also, improved shutdown code to try to avoid occassional exception when writing out the report index. Looks like it isn't shutting down worker threads cleanly sometimes. Added more logging to this too. Change 3280989 on 2017/02/01 by Gil.Gribb New unrealpak binaries Change 3281416 on 2017/02/01 by Michael.Trepka Updated UnrealPak binaries for Mac Change 3282457 on 2017/02/01 by Ben.Zeigler #jira UE-41425 Protect against issues with streamable manager requests recursively completing by caching the array locally. This code is safer in general in my local version so just doing a quick fix for now Change 3282619 on 2017/02/01 by Arciel.Rekman Linux: update UnrealPak. [CL 3283649 by Ben Marsh in Main branch]
2017-02-02 14:41:50 -05:00
NewRequestsToLowerComplete(bWasCanceled, Request, Index);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
class FPakAsyncReadFileHandle final : public IAsyncReadFileHandle
{
FName PakFile;
int64 PakFileSize;
int64 OffsetInPak;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
int64 UncompressedFileSize;
FPakEntry FileEntry;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
TSet<FPakProcessedReadRequest*> LiveRequests;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
TArray<FCachedAsyncBlock*> Blocks;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
FAsyncFileCallBack ReadCallbackFunction;
FCriticalSection CriticalSection;
int32 NumLiveRawRequests;
FName CompressionMethod;
int64 CompressedChunkOffset;
FGuid EncryptionKeyGuid;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
TMap<FCachedAsyncBlock*, FPakProcessedReadRequest*> OutstandingCancelMapBlock;
FCachedAsyncBlock& GetBlock(int32 Index)
{
if (!Blocks[Index])
{
Blocks[Index] = new FCachedAsyncBlock;
Blocks[Index]->BlockIndex = Index;
}
return *Blocks[Index];
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
public:
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
FPakAsyncReadFileHandle(const FPakEntry* InFileEntry, FPakFile* InPakFile, const TCHAR* Filename)
: PakFile(InPakFile->GetFilenameName())
, PakFileSize(InPakFile->TotalSize())
, FileEntry(*InFileEntry)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
, NumLiveRawRequests(0)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
, CompressedChunkOffset(0)
, EncryptionKeyGuid(InPakFile->GetInfo().EncryptionKeyGuid)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
OffsetInPak = FileEntry.Offset + FileEntry.GetSerializedSize(InPakFile->GetInfo().Version);
UncompressedFileSize = FileEntry.UncompressedSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
int64 CompressedFileSize = FileEntry.UncompressedSize;
CompressionMethod = InPakFile->GetInfo().GetCompressionMethod(FileEntry.CompressionMethodIndex);
if (CompressionMethod != NAME_None && UncompressedFileSize)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
check(FileEntry.CompressionBlocks.Num());
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
CompressedFileSize = FileEntry.CompressionBlocks.Last().CompressedEnd - FileEntry.CompressionBlocks[0].CompressedStart;
check(CompressedFileSize >= 0);
const int32 CompressionBlockSize = FileEntry.CompressionBlockSize;
check((UncompressedFileSize + CompressionBlockSize - 1) / CompressionBlockSize == FileEntry.CompressionBlocks.Num());
Blocks.AddDefaulted(FileEntry.CompressionBlocks.Num());
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
CompressedChunkOffset = InPakFile->GetInfo().HasRelativeCompressedChunkOffsets() ? FileEntry.Offset : 0;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
UE_LOG(LogPakFile, Verbose, TEXT("FPakPlatformFile::OpenAsyncRead[%016llX, %016llX) %s"), OffsetInPak, OffsetInPak + CompressedFileSize, Filename);
check(PakFileSize > 0 && OffsetInPak + CompressedFileSize <= PakFileSize && OffsetInPak >= 0);
ReadCallbackFunction = [this](bool bWasCancelled, IAsyncReadRequest* Request)
{
RawReadCallback(bWasCancelled, Request);
};
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
~FPakAsyncReadFileHandle()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FScopeLock ScopedLock(&CriticalSection);
if (LiveRequests.Num() > 0 || NumLiveRawRequests > 0)
{
UE_LOG(LogPakFile, Fatal, TEXT("LiveRequests.Num or NumLiveRawReqeusts was > 0 in ~FPakAsyncReadFileHandle!"));
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(!LiveRequests.Num()); // must delete all requests before you delete the handle
check(!NumLiveRawRequests); // must delete all requests before you delete the handle
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
for (FCachedAsyncBlock* Block : Blocks)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (Block)
{
check(Block->RefCount == 0);
ClearBlock(*Block, true);
delete Block;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
virtual IAsyncReadRequest* SizeRequest(FAsyncFileCallBack* CompleteCallback = nullptr) override
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
return new FPakSizeRequest(CompleteCallback, UncompressedFileSize);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
virtual IAsyncReadRequest* ReadRequest(int64 Offset, int64 BytesToRead, EAsyncIOPriorityAndFlags PriorityAndFlags = AIOP_Normal, FAsyncFileCallBack* CompleteCallback = nullptr, uint8* UserSuppliedMemory = nullptr) override
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
if (BytesToRead == MAX_int64)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
BytesToRead = UncompressedFileSize - Offset;
}
check(Offset + BytesToRead <= UncompressedFileSize && Offset >= 0);
if (CompressionMethod == NAME_None)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
check(Offset + BytesToRead + OffsetInPak <= PakFileSize);
check(!Blocks.Num());
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (FileEntry.IsEncrypted())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
return new FPakEncryptedReadRequest(PakFile, PakFileSize, CompleteCallback, OffsetInPak, Offset, BytesToRead, PriorityAndFlags, UserSuppliedMemory, EncryptionKeyGuid);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
else
{
return new FPakReadRequest(PakFile, PakFileSize, CompleteCallback, OffsetInPak + Offset, BytesToRead, PriorityAndFlags, UserSuppliedMemory);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
bool bAnyUnfinished = false;
FPakProcessedReadRequest* Result;
{
FScopeLock ScopedLock(&CriticalSection);
check(Blocks.Num());
int32 FirstBlock = Offset / FileEntry.CompressionBlockSize;
int32 LastBlock = (Offset + BytesToRead - 1) / FileEntry.CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(FirstBlock >= 0 && FirstBlock < Blocks.Num() && LastBlock >= 0 && LastBlock < Blocks.Num() && FirstBlock <= LastBlock);
Result = new FPakProcessedReadRequest(this, CompleteCallback, Offset, BytesToRead, PriorityAndFlags, UserSuppliedMemory);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
for (int32 BlockIndex = FirstBlock; BlockIndex <= LastBlock; BlockIndex++)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& Block = GetBlock(BlockIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
Block.RefCount++;
if (!Block.bInFlight)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.RefCount == 1);
StartBlock(BlockIndex, PriorityAndFlags);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bAnyUnfinished = true;
}
if (!Block.Processed)
{
bAnyUnfinished = true;
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(!LiveRequests.Contains(Result))
LiveRequests.Add(Result);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (!bAnyUnfinished)
{
Result->RequestIsComplete();
}
}
return Result;
}
void StartBlock(int32 BlockIndex, EAsyncIOPriorityAndFlags PriorityAndFlags)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& Block = GetBlock(BlockIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
Block.bInFlight = true;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
check(!Block.RawRequest && !Block.Processed && !Block.Raw && !Block.CPUWorkGraphEvent.GetReference() && !Block.ProcessedSize && !Block.RawSize && !Block.bCPUWorkIsComplete);
Block.RawSize = FileEntry.CompressionBlocks[BlockIndex].CompressedEnd - FileEntry.CompressionBlocks[BlockIndex].CompressedStart;
Block.DecompressionRawSize = Block.RawSize;
if (FileEntry.IsEncrypted())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
Block.RawSize = Align(Block.RawSize, FAES::AESBlockSize);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
NumLiveRawRequests++;
Block.RawRequest = new FPakReadRequest(PakFile, PakFileSize, &ReadCallbackFunction, FileEntry.CompressionBlocks[BlockIndex].CompressedStart + CompressedChunkOffset, Block.RawSize, PriorityAndFlags, nullptr, true, &Block);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
void RawReadCallback(bool bWasCancelled, IAsyncReadRequest* InRequest)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
// CAUTION, no lock here!
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
FPakReadRequest* Request = static_cast<FPakReadRequest*>(InRequest);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& Block = Request->GetBlock();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check((Block.RawRequest == Request || (!Block.RawRequest && Block.RawSize)) // we still might be in the constructor so the assignment hasn't happened yet
&& !Block.Processed && !Block.Raw);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Block.Raw = Request->GetReadResults();
FPlatformMisc::MemoryBarrier();
if (Block.bCancelledBlock || !Block.Raw)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.bCancelledBlock);
if (Block.Raw)
{
FMemory::Free(Block.Raw);
Block.Raw = nullptr;
check(Block.RawSize > 0);
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.RawSize);
Block.RawSize = 0;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
else
{
check(Block.Raw);
Block.ProcessedSize = FileEntry.CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (Block.BlockIndex == Blocks.Num() - 1)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Block.ProcessedSize = FileEntry.UncompressedSize % FileEntry.CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (!Block.ProcessedSize)
{
Block.ProcessedSize = FileEntry.CompressionBlockSize; // last block was a full block
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
check(Block.ProcessedSize && !Block.bCPUWorkIsComplete);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Block.CPUWorkGraphEvent = TGraphTask<FAsyncIOCPUWorkTask>::CreateTask().ConstructAndDispatchWhenReady(*this, &Block);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
void DoProcessing(FCachedAsyncBlock* BlockPtr)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& Block = *BlockPtr;
check(!Block.Processed);
uint8* Output = nullptr;
if (Block.Raw)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.Raw && Block.RawSize && !Block.Processed);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (FileEntry.IsEncrypted())
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
{
INC_DWORD_STAT(STAT_PakCache_CompressedDecrypts);
check(IsAligned(Block.RawSize, FAES::AESBlockSize));
DecryptData(Block.Raw, Block.RawSize, EncryptionKeyGuid);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
}
check(Block.ProcessedSize > 0);
INC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.ProcessedSize);
Output = (uint8*)FMemory::Malloc(Block.ProcessedSize);
if (FileEntry.IsEncrypted())
{
check(Align(Block.DecompressionRawSize, FAES::AESBlockSize) == Block.RawSize);
}
else
{
check(Block.DecompressionRawSize == Block.RawSize);
}
if( !FCompression::UncompressMemory(CompressionMethod, Output, Block.ProcessedSize, Block.Raw, Block.DecompressionRawSize) )
{
UE_LOG( LogPakFile, Fatal, TEXT("Pak Decompression failed. PakFile: %s. EntryOffset: %lld, EntrySize: %lld, CompressionMethod:%s Output:%p ProcessedSize:%d Buf:%p Block.DecompressionRawSize:%d "), *PakFile.ToString(), FileEntry.Offset, FileEntry.Size, *CompressionMethod.ToString(), Output, Block.ProcessedSize, Block.Raw, Block.DecompressionRawSize );
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FMemory::Free(Block.Raw);
Block.Raw = nullptr;
check(Block.RawSize > 0);
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.RawSize);
Block.RawSize = 0;
}
else
{
check(Block.ProcessedSize == 0);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
FScopeLock ScopedLock(&CriticalSection);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(!Block.Processed);
Block.Processed = Output;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (Block.RawRequest)
{
Block.RawRequest->WaitCompletion();
delete Block.RawRequest;
Block.RawRequest = nullptr;
NumLiveRawRequests--;
}
if (Block.RefCount > 0)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(&Block == Blocks[Block.BlockIndex] && !Block.bCancelledBlock);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3805092) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3623004 by Ben.Marsh Fix RemoteExecutor not taking the remote machine specs into account. Change 3623172 by Ben.Marsh UGS: Fix "More Info..." button not using P4 server override. Change 3628820 by Ben.Marsh PR #3979: Get working directory from task element, not tool node (Contributed by nullbus) Change 3630424 by Graeme.Thornton Make the AES key parameter const in FAES::EncryptData() Change 3632786 by Steve.Robb FString constructor fixed to not take an ignored void* parameter, which can be misleading. Change 3639534 by Ben.Marsh Remove old P4.NET library. Doesn't seem to be used by anything. Change 3640536 by Steve.Robb GitHub #4007 : Delete unnecessary specialization of MakeArrayView #jira UE-49617 Change 3641155 by Gil.Gribb UE4 - Speculative fix for problem with summary reading in FAsyncArchive2. Change 3643932 by Ben.Marsh Add an example build script for updating the version number, then compiling and staging the editor and tools to an output directory. Optionally submits at the end (requires -Submit argument). Change 3644825 by Ben.Marsh Use VSWHERE to find the location of MsBuild.exe, if available. https://github.com/EpicGames/UnrealEngine/pull/3879#issuecomment-329688645 Change 3647395 by Ben.Marsh Allow compiling of monolithic binaries from BuildEditorAndTools.xml, using the -set:GameTarget=FooGame -set:TargetPlatforms=Win32;Win64 options. Change 3650300 by Ben.Marsh UAT: Remove code that deletes cooked data on a failed cook. The engine should write packages out transactionally now (by writing to a temporary file and moving into place), and deleting the cooked data just prevents post-mortem analysis. Change 3650856 by Robert.Manuszewski Adding checks to prevent FlushAsyncLoading and LoadObject/LoadPackage from being called from any threads other than the game thread Change 3651022 by Gil.Gribb UE4 - Possible fix for mysterious ensure indicating problematic recursion in the pak precacher. Change 3658331 by Steve.Robb Fix for the parsing of large integer values. Change 3661958 by Gil.Gribb UE4 - Fixed rare hang in task graph. Change 3664021 by Robert.Manuszewski Fix for a potential GC crash caused by stale pointer in AnimInstanceProxy See https://udn.unrealengine.com/questions/392432/gc-issue-uaniminstancemontageinstances-empty-but-u.html Change 3664254 by Steve.Robb Use ANSI allocator when thread sanitizer is enabled. This allows the generation of more accurate and meaningful reports. Change 3664436 by Steve.Robb Use TUniquePtr instead of a thread-unsafe TSharedPtr to move data between threads. Change 3666461 by Graeme.Thornton Improvements to signing/encryption key embedding and runtime access - Changed method of embedding key into the executable to make it more secure - Added FAESKey class to wrap a 32 byte key Change 3666462 by Graeme.Thornton Cut ShooterGame AES key down to 32 characters Change 3677560 by Ben.Marsh PR #4074: UBT: Add include and library-related fields to module JSON output (Contributed by adamrehn) Change 3683534 by Steve.Robb Refactoring of enum/struct lookup during hot reload. Change 3683754 by Steve.Robb Alignment fixes to allow int64 on 32-bit platforms Support for integral types in IsAligned. Static asserts so that alignment functions will no longer be called with non-intergal, non-pointer types. Some fixes to existing code. Change 3686670 by Steve.Robb Fix for thread-unsafe modification of static array in FString::ParseIntoArrayWS. Change 3687540 by Ben.Marsh Fix all UBT/UAT output going to stderr rather than stdout. Change 3688931 by Gil.Gribb UE4 - Critical fix for a rare race condition in the pak file async IO layer. Change 3690000 by Graeme.Thornton Manual copy of 4.18 CL 3687869 Make UBT include the destination INI file for a given hierarchy if it exists Renamed VSCode enum value to VisualStudioCode, so it matches the source accessor plugin name Change 3690030 by Graeme.Thornton VSCode fixes - Source Code Accessor plugin changes. Add new interface method to open a solution at a given path - GameProjectUtils now uses the source navigation API to open solutions rather than hardcoding which solution file types to look for - Various fixes for vscode project file generation #jira UE-50554 Change 3690885 by Steve.Robb Atomic reads in FReferenceControllerOps<ESPMode::ThreadSafe>. Change 3691052 by Steve.Robb Free stats thread on shutdown. Change 3695138 by Steve.Robb AsConst helper function added. Change 3696627 by James.Hopkin Changed player controller iterator typedefs to use TWeakObjectPtr rather than the deprecated TAutoWeakObjectPtr (review-3606695) Change 3697099 by Steve.Robb GitHub #4105 : Removed redundant class access modifier Change 3697154 by Steve.Robb Removal of deprecated functions in delegates. Mutable lambdas to can now be bound to delegates. Change 3697180 by Steve.Robb GitHub #4115 : Incorrect CPPMacroType used for USoftClassProperty Change 3697239 by Steve.Robb Allow TArray::Insert to take an array with any allocator type. Change 3697269 by Steve.Robb RelocateConstructItems instead of MoveConstructItems. Change 3697558 by Steve.Robb New _GetRef functions for TArray, which return a reference to the newly-added element. Unit tests for these functions. Change 3699776 by Steve.Robb TSAN warning suppression around IAsyncReadRequest::bCompleteAndCallbackCalled. Change 3702397 by Steve.Robb TIsTrivial type trait. Change 3702569 by Steve.Robb Allow a TGuardValue to be assigned to a different type from the one being guarded. Change 3706644 by Robert.Manuszewski Different stack ingore count for development builds for FArchiveStackTrace Change 3709272 by Steve.Robb Removal of redundant UpdateVertices, which causes a race condition on the renderer thread. Change 3709452 by Robert.Manuszewski Fixed a bug where with async time limit set to a low value the async loading could hang because the linker would keep reloading the preload dependencies Change 3709454 by Robert.Manuszewski Added command line option -NOEDL to disable EDL Change 3709487 by Steve.Robb Remove use of PLATFORM_HAS_64BIT_ATOMICS, which is always 1. Change 3709645 by Ben.Marsh Fix race condition between multiple instances of UBT trying to write out the XML config cache. Change 3711193 by Ben.Marsh Add an editor setting for the shared DDC location to use. #jira UE-51487 Change 3713811 by Steve.Robb Update .modules files after a hot reload. Don't check for directory timestamp changes as a way of detecting new files if hot reloading with a makefile, as this is already done during makefile invalidation checks. Pass hotreload flags around in UBT instead of relying on global state. This fixes the hot reload iteration speed regression without also regressing the fix to UE-42205. #jira UE-51472 Change 3715654 by Steve.Robb GitHub #4156 : Fixed not compiling template function Algo::UpperBoundBy. Change 3718782 by Steve.Robb TSharedPtr, TSharedRef and TWeakPtr assignment are now implemented as copy-and-swap to avoid an invalid smart pointer state being visible to any destructors being called. Change 3720830 by Steve.Robb Initial import of TAtomic object wrapper, which guarantees atomic access to an object. Change 3720881 by Steve.Robb FCompression ThreadSanitizer data race fixes. Change 3722640 by Graeme.Thornton Guard network platform file heartbeat function with the socket critical section. Stop heartbeat from causing a crash when firing during async loading. #jira UE-51463 Change 3722655 by Steve.Robb Don't null name table because it's already zeroed at startup. Some tidy-ups. Change 3722754 by Steve.Robb Thread sanitizer fix. Small typo fix. Change 3722849 by Graeme.Thornton Improve "caching file" message in networkplatformfile so it says "Requesting file..." and is only output when we actually request the file from the server Change 3723081 by Steve.Robb TAtomic is now aligned to the underlying integer type. TAtomic will now static assert with a better error message when given an unsupported type. Define added for the maximum platform-supported atomic type, and used instead of a (wrong) hardcoded number. Misc renames. Change 3723270 by Ben.Marsh Include /d2cgsummary argument when running UBT with -Timing. Change 3723683 by Ben.Marsh Do not include documentation in the generated project files by default. Suspect that the 30,000 UDN files that get added to the solution take up memory and degrate performance. Change 3725422 by Robert.Manuszewski When serializing compressed archive with multithreaded compression enabled, wait for the oldest async task instead of spinning. Change 3725735 by Robert.Manuszewski Making all CheckDefaultSubobjects related functions const Change 3726167 by Steve.Robb FMinimalName::IsNone added. Change 3726458 by Steve.Robb TAtomic will no longer instantiate for types which are not exactly a size supported by the platform layer. Change 3726542 by Ben.Marsh UGS: Always include the project filename in the editor build command. The project may not be in one of the .uprojectdirs paths. Change 3726595 by Ben.Marsh Allow building multiple game targets in the example BuildEditorAndTools.xml script. Change 3726724 by Ben.Marsh Fix ambiguities in calculating root directory. (GitHub #4172) Change 3726959 by Ben.Marsh Make sure that AutomationTool uses the same list of preprocessor definitions when compiling *.target.cs files as UnrealBuildTool does. Change 3728437 by Steve.Robb VisitTupleElements now supports invocation of a functor taking arguments from multiple tuples in parallel. Some improved documentation. NOTE: This is a backward-incompatible change to VisitTupleElements. Any existing calls will need their arguments swapping. Change 3732262 by Gil.Gribb UE4 - Fixed rare hangs in the task graph. Change 3732755 by Steve.Robb Stats TSAN fixes. Optimizations to FCycleCounter::Start() to only read the stat name once. Change 3735000 by Robert.Manuszewski Always preload the AssetRegistry module on startup. even if EDL is disabled. Even without EDL, if the async loading thread is enabled the AssetRegistryModule will otherwise be loaded from the ASL thread and that will assert. Change 3735292 by Robert.Manuszewski Made sure component visualizer is removed from VisualizersForSelection when UnregisterComponentVisualizer() is called otherwise it may cause crashes when the engine terminates. Change 3735332 by Steve.Robb Refactoring of UDelegateProperty::Identical() to clarify logic. Fixed UMulticastDelegateProperty::Identical() to compare the bound function names. PPF_DeltaComparison removed, as it doesn't seem useful. Change 3737960 by Graeme.Thornton VSCode - Add launch task for generating project files for the given folder Change 3738398 by Graeme.Thornton Make Visual Studio source code accessor's module hotreload handler pass the 'save all files' message to the current accesor, rather than direct to the visual studio accessor #jira UE-51451 Change 3738405 by Graeme.Thornton VSCode: Format c/cpp settings strings using comment path formatting function Change 3738928 by Steve.Robb Fix for lack of null conditional operators in some older Monos. (replicated from CL# 3729574 in Release-4.18) #jira UE-51842 Change 3739135 by Ben.Marsh Fix being unable to package projects in a folder called "Wolf". This is only a restricted folder for Epic's Perforce history. #jira UE-51855 Change 3739360 by Ben.Marsh UAT: Fix issue with P4PORT setting not being parsed correctly. Change 3745959 by James.Hopkin #core Added ImplicitConv for safe upcasts to a specific required type, e.g. deduced delegate payload types Change 3746125 by Steve.Robb FName ThreadSanitizer fixes. Change 3747274 by Steve.Robb TSAN fix for FMediaTicker::Stopping. Change 3747618 by Steve.Robb ThreadSanitizer data race fix for FShaderCompileThreadRunnableBase::bForceFinish. Change 3747720 by Steve.Robb ThreadSanitizer fix for FMessageRouter::Stopping. Change 3749207 by Graeme.Thornton First pass of CryptoKeys plugin. Allows creation/editing/cycling of AES/RSA keys. Change 3749323 by Graeme.Thornton Fix UAT crash when only -targetplatform is specifiied Change 3749349 by Steve.Robb TSAN_SAFE guards around LockFreeList to silence ThreadSanitizer. Change 3749617 by Steve.Robb Logf static_assert for formatting string enabled. Change 3749897 by Steve.Robb FDebug::LogAssertFailedMessage static assert for formatting string enabled. Change 3754011 by Steve.Robb Static asserts that the allocator supports move. Move-enabled our allocators which don't support move. Change 3754227 by Ben.Marsh Fix build command line in generated projects missing a space before the compiler version override. #jira UE-52226 Change 3754562 by Ben.Marsh PR #4206: Replace deprecated wsprintf with secure swprintf for Bootstrap executable (Contributed by jessicafalk) Change 3755616 by Graeme.Thornton Runtime code for using the new crypto ini files to define signing/encryption keys #jira UE-46580 Change 3755666 by James.Hopkin Used ImplicitConv to remove Casts being used for up-casts #review-3745965 Change 3755671 by Graeme.Thornton Add log message in unrealpak to say which config file system it is using for crypto keys Change 3755672 by Graeme.Thornton Updating ShooterGame with new CryptoKeys based security setup Change 3756778 by Ben.Marsh Add support for running multiple jobs simultaneously on a single builder. When running job or agent setup, the --num-slots=X parameter defines the number of steps that can run simultaneously (EC procedures pass in the resource step limit). A lock file is created under the workspace root (D:\Build) and a reservation file is created for the first slot that can be allocated (slot-1, slot-2, etc...). The slot number is used to define the workspace name that should be used. Change 3758498 by Ben.Marsh Re-throw exceptions when a file cannot be deleted when cleaning a target. Change 3758921 by Steve.Robb ThreadSanitizer fix to FThreadSafeStaticStatBase::HighPerformanceEnable to do a relaxed atomic load on access. DoSetup() now returns the newly-allocated pointer, instead of reloading it from memory. Change 3760599 by Graeme.Thornton Added missing epic header comment to some new source files Change 3760642 by Steve.Robb ThreadSanitizer fix for concurrent access to GMainThreadBlockedOnRenderThread. Change 3760669 by Graeme.Thornton Improvement to OpenSSL based signing key generator. Generate a full RSA key then steal the primes from it, rather than generating the primes manually. Added a test mode to the cryptokeys commandlet to test signing key generation Change 3760711 by Steve.Robb ThreadSanitizer fixes to GIsRenderingThreadSuspended. Change 3760739 by Steve.Robb ThreadSanitizer fix for FQueuedThread::TimeToDie. Change 3760763 by Steve.Robb ThreadSanitizer fix for GRunRenderingThreadHeartbeat. Removal of unnecessary/dangerous initializer for GMainThreadBlockedOnRenderThread. Change 3760793 by Steve.Robb Some simple refactoring to remove some volatile reads of BufferStartPos and BufferEndPos. Change 3760817 by Steve.Robb ThreadSanitizer fixes for FAsyncWriter::BufferStartPos and BufferEndPos. Change 3761331 by Josh.Engebretson UnrealBuildTool enforcement of Development and Debug configurations in existing .csproj #jira UE-52416 Change 3761521 by Steve.Robb ThreadSanitizer fixes for FEvent::EventStartCycles and EventUniqueId. Change 3763117 by Graeme.Thornton PR #3722: Optimising FPaths::IsRelative() (Contributed by jovisgCL) Change 3763358 by Graeme.Thornton Ensure that all branches within FGenericPlatformMisc::RootDir() produce an absolute path with no duplicate slashes Remove relative->abs conversion of root dir from FPaths::MakeStandardFilename(), now that we know RootDir() always returns an absolute path Derived from the content of this PR: PR #3742: Treat RootDirectory the same way as Standardized (Contributed by TroutZhang) Change 3764058 by Graeme.Thornton Generate a .code-workspace file for the current workspace. Allows foreign projects to "mount" the UE4 folder so that the engine tasks are avaible, and all engine source is visible to VSCode for searching purposes #jira UE-52359 Change 3764705 by Steve.Robb Better handling of whitespace in ImportText_Internal() for set and map properties. Containers are now emptied upon import failure, to avoid leaving bad container states (unhashed, partial data). Fix to USetProperty's temp buffer size to avoid buffer overruns. Duplicate map keys are now skipped during import, same as USetProperty's behavior. Change 3764731 by Steve.Robb Don't re-run UHT if only source files have changed in the same folder as headers. This was already done for hot reload, but there's no reason why it should be limited to that. Change 3765923 by Graeme.Thornton VSCode - "taskName" -> "label" for C# build tasks Change 3766018 by Steve.Robb constexpr constructor for TAtomic. Change 3766037 by Steve.Robb Misc tidyings in HotReload.cpp. Change 3766046 by Steve.Robb ThreadSanitizer fixes to ENamedThreads::RenderThread and ENamedThreads::ENamedThreads_Local. Change 3766288 by Steve.Robb Improved efficiency of adding/removing elements to UGCObjectReferencer::ReferencedObjects. Change 3766374 by Josh.Engebretson Fix issue with ini quoted value comparison #jira UE-52066 Change 3766532 by Josh.Engebretson PR #3680: Added NetSerialize to FDateTime fixing UE-22533 (Contributed by druhasu) #jira UE-46156 Change 3766740 by Steve.Robb TMultiMap::Append added. Change 3767523 by Steve.Robb ThreadSanitizer fix for UE4Delegates_Private::GNextID. Change 3767601 by Steve.Robb ThreadSanitizer fix for FStats::GameThreadStatsFrame. Change 3770567 by Ben.Marsh Add a FAnnotatedArchiveFormatter interface which allows querying structural type information that may not be in binary archives. Change 3770826 by Ben.Marsh Move StructuredArchive implementation into Core, so primitive types can implement serialization overloads for it. Change 3770875 by Steve.Robb Redundant UScriptStruct::PostLoad removed, which was causing a race condition in async loading. This was re-establishing the CppStructOps, but that is unnecessary because native classes cannot change as a result of a load - only BP structs can, and they don't have CppStructOps. Change 3772167 by Ben.Marsh Add a context-free binary formatter that can serialize tagged data. This functions as a lower-overhead binary intermediate format for JSON data. Change 3772248 by Steve.Robb ThreadSanitizer fixes to FMalloc call counters. Change 3772383 by Ben.Marsh Separate archive metadata from FArchive into FArchiveContext, so it can be safely exposed to consumers of FStructuredArchive. Change 3772906 by Graeme.Thornton TextAssetCommandlet - Utility commandlet for testing/converting to text asset format Change 3772932 by Ben.Marsh Fix "String:" prefix not being stripped from escaped string values. Change 3772942 by Graeme.Thornton Add experimental setting to enable in-editor text asset format functionality Add "export to text" option into the content browser asset actions context menu Change 3772955 by Ben.Marsh Add a new "stream" compound type to FStructuredArchive, which allows serializing a sequence of elements similarly to an array, but without serializing an explicit size. Allows passing through data to an underlying binary archive without breaking compatibility. Change 3772963 by Ben.Marsh Allow querying record keys and stream lengths from annotated archive formatters, since these archives have markup for field boundaries. Change 3773010 by Graeme.Thornton Added CORE_API to FArchiveFromStructuredArchive Gave text asset format experimental option a slightly less random tooltip comment Change 3773057 by Ben.Marsh Add a flag to FArchive to determine whether the archive is text (IsTextFormat()). Add support for seeking within FArchiveFromStructuredArchive. For text formats, data is serialized to an in-memory buffer, with names and objects serialized as indices into an array. For non-text formats, data is serialized directly to the underlying archive. Also rename FStructuredArchive::TryEnterSlot() to TryEnterField(). Change 3773118 by Steve.Robb TSignedIntType and TUnsignedIntType type traits for getting an integer type of a given size. Change 3773122 by Steve.Robb TAtomic fixes for pointer arithmetic. TSignedIntType used instead of reimplementing its own trait. Change 3773123 by Steve.Robb Unit tests for TAtomic. Change 3773138 by Steve.Robb Run numeric tests on integer types instead of basic tests. Fix for compiler warnings when subtracting from unsigned atomics. Change 3773166 by Steve.Robb Refactoring of arithmetic operations into its own class, then basing the pointer and integral versions on that. Change 3774216 by Gil.Gribb UE4 - Fix rare crash in the pak precacher immediately after unmounting a pak file. Change 3774426 by Ben.Marsh Copy all C# tools to a staging directory before compiling them. This prevents access violations when compiling tools like iPhonePackager that reference DotNETCommon, and ensures we strip NotForLicensees folders out of them all. See: https://answers.unrealengine.com/questions/726010/418-will-not-build-from-source.html Change 3774658 by Ben.Marsh Improve error reporting while generating intellisense for project files. Include the name of the target being compiled, and allow project file generation to continue without it. Change 3775141 by Ben.Marsh Always output HTML5 diagnostics at "information" verbosity, to avoid every line being prefixed with "WARNING:" and screwing up the EC postprocessor. Change 3775459 by Ben.Marsh Removing .NET Framework Perforce DLL as runtime dependency of engine third party library. The actual library is linked statically. Change 3775522 by Ben.Marsh UGS: Treat .uproject and .uplugin files as code changes. Change 3775597 by Ben.Marsh Fix post-build steps for plugins not being executed. #jira UE-52754 Change 3777895 by Graeme.Thornton StructuredArchiveFromArchive - An adapter class for wrapping an existing FArchive with a structured archive Change 3777931 by Graeme.Thornton Refactored FArchiveUObjects serialization code into some static helpers Added FArchiveUObjectFromStructuredArchive which allows the adaption of a structured archive into an FArchive that supports the extra UObect serialization functions for weak/soft pointers Change 3777942 by Graeme.Thornton Added missing CORE_API to FStructuredArchive::FStream Added FStructuredArchive::FSlot insertion operator for char Added specialization of TArray<uint8> serializer for structured archives which serializes the contents as one value Change 3778084 by Graeme.Thornton Adding FPackageName::GetTextAssetPackageExtension() to access the file extension we use for text asset files Change 3778096 by Graeme.Thornton Add a constructor to FArchiveUObjectFromStructuredArchive that takes a slot and passes it to the base class Change 3778389 by Josh.Engebretson Fix an optimization issue with CPU benchmarking Add better support for debugging/testing local rocket builds UDN Link: https://udn.unrealengine.com/questions/400909/command-scalability-auto-gives-inaccurate-cpu-benc.html #jira UE-52192 Change 3778701 by Josh.Engebretson Ensure plugin content folders are mounted consistently. Fixes TryConvertFilenameToLongPackageName failing to work on plugin assets UDN Link: https://udn.unrealengine.com/questions/276386/tryconvertfilenametolongpackagename-fails-for-plug.html #jira UE-40317 Change 3778832 by Chad.Garyet Adding enterprise path support for PCB's for UGS Change 3780258 by Graeme.Thornton TextAssetCommandlet - Accumulate timings for loading packages and saving packages Change 3780463 by Graeme.Thornton CryptoKeys improvements - Enable CryptoKeys plugin by default - Attempt to inherit settings from the old system by default - Hide ini/index encryption settings from packaging settings and just inherit previous values into new system Minor UBT change to remove a trailing comma from the end of encryption/signing key binary strings Change 3780557 by Ben.Marsh Fix LoginFlow module not being precompiled for the binary release. Change 3780846 by Josh.Engebretson Improve filename to long package name resolution when provided a relative path Change 3780863 by Ben.Marsh UAT: Add a better error message when a C# project has an invalid reference. Change 3780911 by Ben.Marsh Update the BuildEditorAndTools.xml script to allow submitting archived binaries to Perforce. The "Submit To Perforce For UGS" node creates a zip of all the binaries that have been built, and submits it to the stream specified by the 'ArchiveStream' argument. Change 3780956 by Josh.Engebretson Add support for ! (RemoveKey) config command to UBT UDN Link: https://udn.unrealengine.com/questions/397267/index.html #jira UE-52033 Change 3782957 by Robert.Manuszewski UE4 - Fixed a linear search in EDL that caused performance problems for very large maps. Change 3784503 by Ben.Marsh Optimizations for FStructuredArchive: * Store the depth explicitly in element objects, to avoid having to loop through the scope stack to find it. * Prevent shrinking of arrays when removing elements. * Add an inline allocator to the scope and container stacks. Change 3784700 by Ben.Marsh Remove the inline allocator from FStructuredArchive; checking whether the inline or backup allocator is being used is slower than just allocating up-front. Change 3784989 by Ben.Marsh Compile out all the FStructuredArchive validation code when WITH_TEXT_ARCHIVE_SUPPORT = 0. Change 3786860 by Gil.Gribb UE4 - Remove no buffering flag from windows async IO because it disabled the disk cache entirely. Change 3787159 by Ben.Marsh Guard against UE4.0 backwards compatibility path when determining if an engine is a source distribution. Change 3787493 by Josh.Engebretson Parallel pak generation now uses MaxDegreeOfParallelism option which is now set to the number of CPU cores Moved cryptography settings parsing out of threaded CreatePak method to avoid concurrency issue in ConfigCache.TryReadFile Fix for multiple threads parsing ini keys (PR 3995) #PR 3995 #jira 52913 #jira 49503 Change 3787773 by Steve.Robb Fix for missing final values from FOREACH_ENUM_ macros. Change 3788287 by Ben.Marsh TBA: Add checks in debug builds that key names in maps and records for FStructuredArchive are unique. Change 3788678 by Ben.Marsh Fix compile error due to inability to instantiate TArray<> of forward declared struct. Convert set of key names to an array to avoid including Set.h in public header for FStructuredArchive. Change 3789353 by Graeme.Thornton Removed unused/rotten modes from TextAsset commandlet. Used existing "-iterations=n" switch to control a global iteration over the given command. Useful for performance testing. Change 3789396 by Ben.Marsh Move code to validate container keys/sizes into DO_GUARD_SLOW checks, and allocate container metadata instances dynamically to fix problems with references to things not declared in headers that can't be included from StructuredArchive.h Change 3789772 by Ben.Marsh Always strip trailing slashes from the end of paths specified by .build.cs files; they can cause quoted paths to be escaped on the command line. Change 3790003 by Ben.Marsh TBA: Rename FStructuredArchive::EElementType::Object to FStructuredArchive::EElementType::Record. Change 3790051 by Steve.Robb PIE is disabled during a hot reload. Hot reload in editor is disabled during PIE. Hot reload from IDE is deferred until after PIE is exited. Compiling multiple times before a hot reload (e.g. compiling multiple times in PIE) will now load the most recent change. #jira UE-20357 #jira UE-52137 Change 3790709 by Steve.Robb Better move support for TVariant. EVariantTypes switched over to using an enum class to aid debugger visualization. Change 3791422 by Ben.Marsh TBA: Return the type of a field from an annotated archive formatter at the point that we enter it, rather than querying all the time. Change 3791489 by Graeme.Thornton TBA: Change StructuredArchiveFromArchive adapter to use the archive.Open() result directly, now that it's a slot and not a record Change 3792344 by Ben.Marsh Improvements to base64 encoding library. * Now supports encoding and decoding with ANSICHAR and WIDECHAR implementations. * Added support for decoding base-64 blobs without padding marks. * Added support for decoding into pre-allocated buffer. * Added constexpr functions for determining the encoded and maximum decoded size of an input buffer. * Prevent writes past the end of allocated buffer (no longer need to manually remove padding bytes). Change 3792949 by Ben.Marsh TBA: Rename FAnnotatedArchiveFormatter to FAnnotatedStructuredArchiveFormatter. Change 3794078 by Robert.Manuszewski Fixing a crash that could happen when FGCObjects were constructed and destructed when shutting down the engine #jira UE-52392 Change 3794413 by Ben.Marsh TBA: Remove the element type parameter to SetScope(). It isn't really needed; we can just assume the element ID correctly identifies the item on the stack. Change 3794731 by Ben.Marsh TBA: Optimize creation of stack elements for empty slots in FStructuredArchive. This saves a lot of bookkeeping when serializing a large number of individual fields. Since only one slot can be active at a time (and it only exists temporarily, until we write into it), we can just store the element ID assigned to it in a member variable. Change 3795081 by Ben.Marsh UBT: Move LinuxCommon.cs into Platform/Linux folder. Change 3795137 by Ben.Marsh UBT: Allow modules to specify private compiler definitions from the build.cs file, only visible within that module (via the "PrivateDefinitions" property). Change 3795247 by Ben.Marsh Fix missing header when creating a new interface from the editor new code wizard. #jira UE-53174 Change 3796025 by Graeme.Thornton Fixed some deprecated "Definitions" warnings in OpenCV build files Change 3796103 by Graeme.Thornton Disable experimental text asset option - it does nothing useful yet. Change 3796157 by Graeme.Thornton Fix path type mismatch in visual studio source code accessor meaning that the DTE comms wouldn't identify a running instance of VS as having the current solution open. #jira UE-53206 Change 3796315 by Ben.Marsh Move Formatter to the correct position for initializer. #jira UE-53208 Change 3797082 by Ben.Marsh UAT: Work around for exception thrown by launching cook with "-platform=Android_ETC1 -targetplatform=Android -cookflavor=ETC1". Anrdoid_ETC1 is not a valid platform (it's a cook platform), and can't be parsed by UAT. #jira UE-53232 Change 3799050 by Ben.Marsh Make UnrealPak.version files writable for Mac and Linux. Change 3801012 by Graeme.Thornton VSCode - Update source accessor to use code workspace as it's target, rather than just the project directory Change 3801214 by Gil.Gribb UE4 - Remove assert to work around minor problem with lock free lists. #jira UE-49600 Change 3801219 by Steve.Robb WeakObjectPtrs now warn when casting away const. Change 3801299 by Graeme.Thornton Fix quote issue with foreign project build tasks on PC Change 3803292 by Graeme.Thornton Fix crash on startup when using cook-on-the-side. Force a flush of the asset registry background scanning when creating the cook-on-the-side platform registries Change 3803559 by Steve.Robb TSAN fix for FMalloc::MaxSingleAlloc. Change 3803735 by Graeme.Thornton Last set of cryptokeys changes - Added some comments for editor exposed settings - Split "encrypt assets" option into "encrypt uassets" and "encrypt all assets" Change 3803929 by Ben.Marsh UGS: Show an in-place error panel when a project fails to open, allowing the user to retry and have their tabs saved instead of creating a modal dialog. Change 3624590 by Steve.Robb AddReferencedObjects now generates a compile error with containers of UObject*s where the UObjectType is forward-declared, as these which won't be added to the reference collector. Tidy-up of existing calls to AddReferencedObjects. Change 3629473 by Ben.Marsh Build: Rename the option for embedding source server information in PDB files for installed engine builds. Change 3632894 by Steve.Robb VARARG* macros deprecated and usage replaced with variadic templates. Change 3640704 by Steve.Robb MakeWeakObjectPtr added, which deduces a TWeakObjectPtr type from a raw pointer type. Fix to TWeakObjectPtr's constructor which implicitly removed const. Fixes to everything which didn't compile as a result. Change 3650813 by Graeme.Thornton Removed FStartupPackages and associated code Change 3651000 by Ben.Marsh Return the stack size from FPlatformStackWalk::CaptureStackBacktrace() rather than checking for the first null pointer, to prevent truncated callstacks if parts of the stack are zeroed out. #jira UE-49980 Change 3690842 by Steve.Robb FPlatformAtomics::AtomicRead added - needs optimizing. AtomicRead() used in FThreadSafeCounter::GetValue(). Change 3699416 by Steve.Robb Fix to debugger visualization of TArray with a TInlineAllocator or TFixedAllocator. Improved readability of TSparseArray visualization. Change 3720812 by Steve.Robb Atomic functions for 8-bit and 16-bit. Android, Linux and Switch implementations now just use the Clang implementation. AtomicRead64 deprecated in favor of the int64* AtomicRead overload. Change 3722698 by Steve.Robb VS debugger visualizers for TAtomic. Change 3732270 by Steve.Robb Relaxed stores and loads. Change 3749315 by Graeme.Thornton If UAT is invoked with platforms in both the -platform and -targetplatform command line switches, build using all of them rather than just the ones in -targetplatform #jira UE-52034 Change 3750657 by Josh.Engebretson Fixed issue when debugging editor cook/package and project launch operations #jira UE-52207 Change 3758514 by Steve.Robb Fixes to FString::Printf having non-literals being passed as its formatting string. Change 3763356 by Steve.Robb ENamedThreads::RenderThread and ENamedThreads::RenderThread_Local encapsulated by getters and setters. Change 3770549 by Steve.Robb Removal of obsolete PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS and PLATFORM_COMPILER_HAS_AUTO_RETURN_TYPES. Tidy up of existing code which uses it. Change 3770553 by Ben.Marsh Adding structured serialization API to Core/CoreUObject for use with text-based assets. * FStructuredArchive abstracts an archive which is made up of compound types (records, arrays, and maps). Values are stored in slots within these types. * Records are string -> value dictionaries where the key names can be compiled out in non-editor builds or when WITH_TEXT_ARCHIVE_SUPPORT = 0. * Maps are string -> value dictionaries where the key names are present regardless of the build type. * Proxy objects are defined to express the context for serialization (FStructuredArchive::FRecord, FStructuredArchive::FArray, FStructuredArchive::FMap, FStructuredArchive::FSlot) which allows basic validation through static typing. These objects act as lightweight handles, and can be cheaply constructed and passed around on the stack. Most serialization to and from the archive is done through these objects. * Runtime checks perform additional validation to ensure that serialized data is well formed and written in a forward-only manner, regardless of the underlying archive type. * The actual input/output format is determined by a separate interface (FArchiveFormatter). Context validation (always causing matching LeaveArray for every EnterArray, etc...) is done by FStructuredArchive, so implementing these classes is fairly trivial. FArchiveFormatter can be de-virtualized in non-editor builds, where WITH_TEXT_ARCHIVE_SUPPORT = 0. * Includes implementations of FArchiveFormatter for binary and JSON formats. Change 3771105 by Steve.Robb Deprecation warnings for PLATFORM_COMPILER_HAS_AUTO_RETURN_TYPES and PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS. Fix for incorrect warning formatting on Clang platforms. Change 3771520 by Steve.Robb Start moving Clang-using platforms' pre-setup stuff into a Clang-specific header. Change 3771564 by Steve.Robb More common macros moved to the Clang pre-setup header. Change 3771613 by Steve.Robb EMIT_CUSTOM_WARNING_AT_LINE moved to ClangPlatformCompilerPreSetup.h. Change 3772881 by Ben.Marsh Add support for serializing FName and UObject through FStructuredArchive. In order to allow custom linker behavior when serializing objects: * The constructor to JSON input formatter now takes a delegate to convert a string object name into a UObject pointer. * The constructor to tagged binary formatter takes a delegate to serialize a UObject pointer into any form it chooses (likely an integer index into the import table) Object and name types are stored as strings in JSON, using an "Object:" or "Name:" prefix to differentiate them from regular strings. Any strings that already contain one of these prefixes are prepended with a "String:" prefix (as is any string that already has a "String:" prefix). Change 3772941 by Graeme.Thornton Make build work when including StructuredArchive.h from core container types Added standard header to new files Add structured archive serializer for TArray Fix bug in structured archive where containers weren't being popped from the scope stack Change 3772972 by Ben.Marsh Add an adapter which presents a legacy FArchive interface to a FStructuredArchive slot. Data is serialized into this slot as a stream of elements; raw data is buffered up into fixed size chunks, names and objects are serialized separately. When used with FBinaryArchiveFormatter, this should result in all data being passed through to the underlying archive in a backwards compatible way, wiith no additional bookkeeping fields. Change 3773006 by Ben.Marsh Rename FStructuredArchive::FRecord::EnterSlot() to EnterField(). Change 3773013 by Steve.Robb bUseInlining target rule added to UnrealBuildTool, which defaults to true, to allow inlining to be disabled for debugging purposes. Change 3774499 by Ben.Marsh Minor fixes for FStructuredArchive related classes: * Text-based archive formats are now compiled out when WITH_TEXT_ARCHIVE_SUPPORT = 0. * Fixed issue with FTaggedBinaryArchiveFormatter state becoming corrupted when looking ahead at field types. * FArchiveFieldName constructor is now explicit, to fix cases where strings were being passed directly to serialize functions. Change 3774600 by Ben.Marsh Add CopyFormattedData() function, which can copy data from one formatter to another. Add a test case to SerializationAPI that converts from data -> JSON -> binary -> JSON -> data. This function can be used to implement a generic visitor pattern, by implementing a FArchiveFormatter which receives the deserialized data. Change 3789721 by Ben.Marsh TBA: Split FTaggedBinaryArchiveFormatter into separate classes for reading and writing. Change 3789920 by Ben.Marsh TBA: Support automatic coercion between any numeric types in tagged binary archives. Also report the smallest type that can contain a value, rather than just in32/double. #jira UECORE-364 Change 3789982 by Ben.Marsh TBA: Change FStructuredArchive::Open() to return a slot, rather than a record, to make it easier to implement a raw FArchive adapter. Change 3792466 by Ben.Marsh TBA: Better handling of raw data in text based assets. Short sequences of binary data are Base64 encoded as a single string. Longer sequences are stored as an array of Base64 encoded lines, push a SHA1 hash to detect cases where the data was merged incorrectly. In order to allow inference of the correct type for a field, other fields called "Base64" will be escaped to "_Base64", and any field beginning with "_" will have an additional underscore inserted. Reading files back in reverses these transformations. Change 3792935 by Ben.Marsh TBA: Rename FArchiveFormatter to FStructuredArchiveFormatter for consistency with FStructuredArchive. Change 3795100 by Ben.Marsh UBT: Rename the ModuleRules Definitions property to PublicDefinitions, to make its semantics clearer. Change 3795106 by Ben.Marsh Replace all internal usages of ModuleRules.Definitions, and replace it with ModuleRules.PublicDefinitions. Change 3796275 by Ben.Marsh Fix paths to Version.h includes from resource files. Change 3800683 by Josh.Engebretson Remove WER from Mac and Linux crash reports in favor of unified runtime-xml format #jira UE-50073 Change 3803545 by Steve.Robb TWeakObjPtr const-dropping assignment fix. Fixes to change. [CL 3805231 by Ben Marsh in Main branch]
2017-12-12 18:32:45 -05:00
TArray<FPakProcessedReadRequest*, TInlineAllocator<4> > CompletedRequests;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
for (FPakProcessedReadRequest* Req : LiveRequests)
{
if (Req->CheckCompletion(FileEntry, Block.BlockIndex, Blocks))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3805092) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3623004 by Ben.Marsh Fix RemoteExecutor not taking the remote machine specs into account. Change 3623172 by Ben.Marsh UGS: Fix "More Info..." button not using P4 server override. Change 3628820 by Ben.Marsh PR #3979: Get working directory from task element, not tool node (Contributed by nullbus) Change 3630424 by Graeme.Thornton Make the AES key parameter const in FAES::EncryptData() Change 3632786 by Steve.Robb FString constructor fixed to not take an ignored void* parameter, which can be misleading. Change 3639534 by Ben.Marsh Remove old P4.NET library. Doesn't seem to be used by anything. Change 3640536 by Steve.Robb GitHub #4007 : Delete unnecessary specialization of MakeArrayView #jira UE-49617 Change 3641155 by Gil.Gribb UE4 - Speculative fix for problem with summary reading in FAsyncArchive2. Change 3643932 by Ben.Marsh Add an example build script for updating the version number, then compiling and staging the editor and tools to an output directory. Optionally submits at the end (requires -Submit argument). Change 3644825 by Ben.Marsh Use VSWHERE to find the location of MsBuild.exe, if available. https://github.com/EpicGames/UnrealEngine/pull/3879#issuecomment-329688645 Change 3647395 by Ben.Marsh Allow compiling of monolithic binaries from BuildEditorAndTools.xml, using the -set:GameTarget=FooGame -set:TargetPlatforms=Win32;Win64 options. Change 3650300 by Ben.Marsh UAT: Remove code that deletes cooked data on a failed cook. The engine should write packages out transactionally now (by writing to a temporary file and moving into place), and deleting the cooked data just prevents post-mortem analysis. Change 3650856 by Robert.Manuszewski Adding checks to prevent FlushAsyncLoading and LoadObject/LoadPackage from being called from any threads other than the game thread Change 3651022 by Gil.Gribb UE4 - Possible fix for mysterious ensure indicating problematic recursion in the pak precacher. Change 3658331 by Steve.Robb Fix for the parsing of large integer values. Change 3661958 by Gil.Gribb UE4 - Fixed rare hang in task graph. Change 3664021 by Robert.Manuszewski Fix for a potential GC crash caused by stale pointer in AnimInstanceProxy See https://udn.unrealengine.com/questions/392432/gc-issue-uaniminstancemontageinstances-empty-but-u.html Change 3664254 by Steve.Robb Use ANSI allocator when thread sanitizer is enabled. This allows the generation of more accurate and meaningful reports. Change 3664436 by Steve.Robb Use TUniquePtr instead of a thread-unsafe TSharedPtr to move data between threads. Change 3666461 by Graeme.Thornton Improvements to signing/encryption key embedding and runtime access - Changed method of embedding key into the executable to make it more secure - Added FAESKey class to wrap a 32 byte key Change 3666462 by Graeme.Thornton Cut ShooterGame AES key down to 32 characters Change 3677560 by Ben.Marsh PR #4074: UBT: Add include and library-related fields to module JSON output (Contributed by adamrehn) Change 3683534 by Steve.Robb Refactoring of enum/struct lookup during hot reload. Change 3683754 by Steve.Robb Alignment fixes to allow int64 on 32-bit platforms Support for integral types in IsAligned. Static asserts so that alignment functions will no longer be called with non-intergal, non-pointer types. Some fixes to existing code. Change 3686670 by Steve.Robb Fix for thread-unsafe modification of static array in FString::ParseIntoArrayWS. Change 3687540 by Ben.Marsh Fix all UBT/UAT output going to stderr rather than stdout. Change 3688931 by Gil.Gribb UE4 - Critical fix for a rare race condition in the pak file async IO layer. Change 3690000 by Graeme.Thornton Manual copy of 4.18 CL 3687869 Make UBT include the destination INI file for a given hierarchy if it exists Renamed VSCode enum value to VisualStudioCode, so it matches the source accessor plugin name Change 3690030 by Graeme.Thornton VSCode fixes - Source Code Accessor plugin changes. Add new interface method to open a solution at a given path - GameProjectUtils now uses the source navigation API to open solutions rather than hardcoding which solution file types to look for - Various fixes for vscode project file generation #jira UE-50554 Change 3690885 by Steve.Robb Atomic reads in FReferenceControllerOps<ESPMode::ThreadSafe>. Change 3691052 by Steve.Robb Free stats thread on shutdown. Change 3695138 by Steve.Robb AsConst helper function added. Change 3696627 by James.Hopkin Changed player controller iterator typedefs to use TWeakObjectPtr rather than the deprecated TAutoWeakObjectPtr (review-3606695) Change 3697099 by Steve.Robb GitHub #4105 : Removed redundant class access modifier Change 3697154 by Steve.Robb Removal of deprecated functions in delegates. Mutable lambdas to can now be bound to delegates. Change 3697180 by Steve.Robb GitHub #4115 : Incorrect CPPMacroType used for USoftClassProperty Change 3697239 by Steve.Robb Allow TArray::Insert to take an array with any allocator type. Change 3697269 by Steve.Robb RelocateConstructItems instead of MoveConstructItems. Change 3697558 by Steve.Robb New _GetRef functions for TArray, which return a reference to the newly-added element. Unit tests for these functions. Change 3699776 by Steve.Robb TSAN warning suppression around IAsyncReadRequest::bCompleteAndCallbackCalled. Change 3702397 by Steve.Robb TIsTrivial type trait. Change 3702569 by Steve.Robb Allow a TGuardValue to be assigned to a different type from the one being guarded. Change 3706644 by Robert.Manuszewski Different stack ingore count for development builds for FArchiveStackTrace Change 3709272 by Steve.Robb Removal of redundant UpdateVertices, which causes a race condition on the renderer thread. Change 3709452 by Robert.Manuszewski Fixed a bug where with async time limit set to a low value the async loading could hang because the linker would keep reloading the preload dependencies Change 3709454 by Robert.Manuszewski Added command line option -NOEDL to disable EDL Change 3709487 by Steve.Robb Remove use of PLATFORM_HAS_64BIT_ATOMICS, which is always 1. Change 3709645 by Ben.Marsh Fix race condition between multiple instances of UBT trying to write out the XML config cache. Change 3711193 by Ben.Marsh Add an editor setting for the shared DDC location to use. #jira UE-51487 Change 3713811 by Steve.Robb Update .modules files after a hot reload. Don't check for directory timestamp changes as a way of detecting new files if hot reloading with a makefile, as this is already done during makefile invalidation checks. Pass hotreload flags around in UBT instead of relying on global state. This fixes the hot reload iteration speed regression without also regressing the fix to UE-42205. #jira UE-51472 Change 3715654 by Steve.Robb GitHub #4156 : Fixed not compiling template function Algo::UpperBoundBy. Change 3718782 by Steve.Robb TSharedPtr, TSharedRef and TWeakPtr assignment are now implemented as copy-and-swap to avoid an invalid smart pointer state being visible to any destructors being called. Change 3720830 by Steve.Robb Initial import of TAtomic object wrapper, which guarantees atomic access to an object. Change 3720881 by Steve.Robb FCompression ThreadSanitizer data race fixes. Change 3722640 by Graeme.Thornton Guard network platform file heartbeat function with the socket critical section. Stop heartbeat from causing a crash when firing during async loading. #jira UE-51463 Change 3722655 by Steve.Robb Don't null name table because it's already zeroed at startup. Some tidy-ups. Change 3722754 by Steve.Robb Thread sanitizer fix. Small typo fix. Change 3722849 by Graeme.Thornton Improve "caching file" message in networkplatformfile so it says "Requesting file..." and is only output when we actually request the file from the server Change 3723081 by Steve.Robb TAtomic is now aligned to the underlying integer type. TAtomic will now static assert with a better error message when given an unsupported type. Define added for the maximum platform-supported atomic type, and used instead of a (wrong) hardcoded number. Misc renames. Change 3723270 by Ben.Marsh Include /d2cgsummary argument when running UBT with -Timing. Change 3723683 by Ben.Marsh Do not include documentation in the generated project files by default. Suspect that the 30,000 UDN files that get added to the solution take up memory and degrate performance. Change 3725422 by Robert.Manuszewski When serializing compressed archive with multithreaded compression enabled, wait for the oldest async task instead of spinning. Change 3725735 by Robert.Manuszewski Making all CheckDefaultSubobjects related functions const Change 3726167 by Steve.Robb FMinimalName::IsNone added. Change 3726458 by Steve.Robb TAtomic will no longer instantiate for types which are not exactly a size supported by the platform layer. Change 3726542 by Ben.Marsh UGS: Always include the project filename in the editor build command. The project may not be in one of the .uprojectdirs paths. Change 3726595 by Ben.Marsh Allow building multiple game targets in the example BuildEditorAndTools.xml script. Change 3726724 by Ben.Marsh Fix ambiguities in calculating root directory. (GitHub #4172) Change 3726959 by Ben.Marsh Make sure that AutomationTool uses the same list of preprocessor definitions when compiling *.target.cs files as UnrealBuildTool does. Change 3728437 by Steve.Robb VisitTupleElements now supports invocation of a functor taking arguments from multiple tuples in parallel. Some improved documentation. NOTE: This is a backward-incompatible change to VisitTupleElements. Any existing calls will need their arguments swapping. Change 3732262 by Gil.Gribb UE4 - Fixed rare hangs in the task graph. Change 3732755 by Steve.Robb Stats TSAN fixes. Optimizations to FCycleCounter::Start() to only read the stat name once. Change 3735000 by Robert.Manuszewski Always preload the AssetRegistry module on startup. even if EDL is disabled. Even without EDL, if the async loading thread is enabled the AssetRegistryModule will otherwise be loaded from the ASL thread and that will assert. Change 3735292 by Robert.Manuszewski Made sure component visualizer is removed from VisualizersForSelection when UnregisterComponentVisualizer() is called otherwise it may cause crashes when the engine terminates. Change 3735332 by Steve.Robb Refactoring of UDelegateProperty::Identical() to clarify logic. Fixed UMulticastDelegateProperty::Identical() to compare the bound function names. PPF_DeltaComparison removed, as it doesn't seem useful. Change 3737960 by Graeme.Thornton VSCode - Add launch task for generating project files for the given folder Change 3738398 by Graeme.Thornton Make Visual Studio source code accessor's module hotreload handler pass the 'save all files' message to the current accesor, rather than direct to the visual studio accessor #jira UE-51451 Change 3738405 by Graeme.Thornton VSCode: Format c/cpp settings strings using comment path formatting function Change 3738928 by Steve.Robb Fix for lack of null conditional operators in some older Monos. (replicated from CL# 3729574 in Release-4.18) #jira UE-51842 Change 3739135 by Ben.Marsh Fix being unable to package projects in a folder called "Wolf". This is only a restricted folder for Epic's Perforce history. #jira UE-51855 Change 3739360 by Ben.Marsh UAT: Fix issue with P4PORT setting not being parsed correctly. Change 3745959 by James.Hopkin #core Added ImplicitConv for safe upcasts to a specific required type, e.g. deduced delegate payload types Change 3746125 by Steve.Robb FName ThreadSanitizer fixes. Change 3747274 by Steve.Robb TSAN fix for FMediaTicker::Stopping. Change 3747618 by Steve.Robb ThreadSanitizer data race fix for FShaderCompileThreadRunnableBase::bForceFinish. Change 3747720 by Steve.Robb ThreadSanitizer fix for FMessageRouter::Stopping. Change 3749207 by Graeme.Thornton First pass of CryptoKeys plugin. Allows creation/editing/cycling of AES/RSA keys. Change 3749323 by Graeme.Thornton Fix UAT crash when only -targetplatform is specifiied Change 3749349 by Steve.Robb TSAN_SAFE guards around LockFreeList to silence ThreadSanitizer. Change 3749617 by Steve.Robb Logf static_assert for formatting string enabled. Change 3749897 by Steve.Robb FDebug::LogAssertFailedMessage static assert for formatting string enabled. Change 3754011 by Steve.Robb Static asserts that the allocator supports move. Move-enabled our allocators which don't support move. Change 3754227 by Ben.Marsh Fix build command line in generated projects missing a space before the compiler version override. #jira UE-52226 Change 3754562 by Ben.Marsh PR #4206: Replace deprecated wsprintf with secure swprintf for Bootstrap executable (Contributed by jessicafalk) Change 3755616 by Graeme.Thornton Runtime code for using the new crypto ini files to define signing/encryption keys #jira UE-46580 Change 3755666 by James.Hopkin Used ImplicitConv to remove Casts being used for up-casts #review-3745965 Change 3755671 by Graeme.Thornton Add log message in unrealpak to say which config file system it is using for crypto keys Change 3755672 by Graeme.Thornton Updating ShooterGame with new CryptoKeys based security setup Change 3756778 by Ben.Marsh Add support for running multiple jobs simultaneously on a single builder. When running job or agent setup, the --num-slots=X parameter defines the number of steps that can run simultaneously (EC procedures pass in the resource step limit). A lock file is created under the workspace root (D:\Build) and a reservation file is created for the first slot that can be allocated (slot-1, slot-2, etc...). The slot number is used to define the workspace name that should be used. Change 3758498 by Ben.Marsh Re-throw exceptions when a file cannot be deleted when cleaning a target. Change 3758921 by Steve.Robb ThreadSanitizer fix to FThreadSafeStaticStatBase::HighPerformanceEnable to do a relaxed atomic load on access. DoSetup() now returns the newly-allocated pointer, instead of reloading it from memory. Change 3760599 by Graeme.Thornton Added missing epic header comment to some new source files Change 3760642 by Steve.Robb ThreadSanitizer fix for concurrent access to GMainThreadBlockedOnRenderThread. Change 3760669 by Graeme.Thornton Improvement to OpenSSL based signing key generator. Generate a full RSA key then steal the primes from it, rather than generating the primes manually. Added a test mode to the cryptokeys commandlet to test signing key generation Change 3760711 by Steve.Robb ThreadSanitizer fixes to GIsRenderingThreadSuspended. Change 3760739 by Steve.Robb ThreadSanitizer fix for FQueuedThread::TimeToDie. Change 3760763 by Steve.Robb ThreadSanitizer fix for GRunRenderingThreadHeartbeat. Removal of unnecessary/dangerous initializer for GMainThreadBlockedOnRenderThread. Change 3760793 by Steve.Robb Some simple refactoring to remove some volatile reads of BufferStartPos and BufferEndPos. Change 3760817 by Steve.Robb ThreadSanitizer fixes for FAsyncWriter::BufferStartPos and BufferEndPos. Change 3761331 by Josh.Engebretson UnrealBuildTool enforcement of Development and Debug configurations in existing .csproj #jira UE-52416 Change 3761521 by Steve.Robb ThreadSanitizer fixes for FEvent::EventStartCycles and EventUniqueId. Change 3763117 by Graeme.Thornton PR #3722: Optimising FPaths::IsRelative() (Contributed by jovisgCL) Change 3763358 by Graeme.Thornton Ensure that all branches within FGenericPlatformMisc::RootDir() produce an absolute path with no duplicate slashes Remove relative->abs conversion of root dir from FPaths::MakeStandardFilename(), now that we know RootDir() always returns an absolute path Derived from the content of this PR: PR #3742: Treat RootDirectory the same way as Standardized (Contributed by TroutZhang) Change 3764058 by Graeme.Thornton Generate a .code-workspace file for the current workspace. Allows foreign projects to "mount" the UE4 folder so that the engine tasks are avaible, and all engine source is visible to VSCode for searching purposes #jira UE-52359 Change 3764705 by Steve.Robb Better handling of whitespace in ImportText_Internal() for set and map properties. Containers are now emptied upon import failure, to avoid leaving bad container states (unhashed, partial data). Fix to USetProperty's temp buffer size to avoid buffer overruns. Duplicate map keys are now skipped during import, same as USetProperty's behavior. Change 3764731 by Steve.Robb Don't re-run UHT if only source files have changed in the same folder as headers. This was already done for hot reload, but there's no reason why it should be limited to that. Change 3765923 by Graeme.Thornton VSCode - "taskName" -> "label" for C# build tasks Change 3766018 by Steve.Robb constexpr constructor for TAtomic. Change 3766037 by Steve.Robb Misc tidyings in HotReload.cpp. Change 3766046 by Steve.Robb ThreadSanitizer fixes to ENamedThreads::RenderThread and ENamedThreads::ENamedThreads_Local. Change 3766288 by Steve.Robb Improved efficiency of adding/removing elements to UGCObjectReferencer::ReferencedObjects. Change 3766374 by Josh.Engebretson Fix issue with ini quoted value comparison #jira UE-52066 Change 3766532 by Josh.Engebretson PR #3680: Added NetSerialize to FDateTime fixing UE-22533 (Contributed by druhasu) #jira UE-46156 Change 3766740 by Steve.Robb TMultiMap::Append added. Change 3767523 by Steve.Robb ThreadSanitizer fix for UE4Delegates_Private::GNextID. Change 3767601 by Steve.Robb ThreadSanitizer fix for FStats::GameThreadStatsFrame. Change 3770567 by Ben.Marsh Add a FAnnotatedArchiveFormatter interface which allows querying structural type information that may not be in binary archives. Change 3770826 by Ben.Marsh Move StructuredArchive implementation into Core, so primitive types can implement serialization overloads for it. Change 3770875 by Steve.Robb Redundant UScriptStruct::PostLoad removed, which was causing a race condition in async loading. This was re-establishing the CppStructOps, but that is unnecessary because native classes cannot change as a result of a load - only BP structs can, and they don't have CppStructOps. Change 3772167 by Ben.Marsh Add a context-free binary formatter that can serialize tagged data. This functions as a lower-overhead binary intermediate format for JSON data. Change 3772248 by Steve.Robb ThreadSanitizer fixes to FMalloc call counters. Change 3772383 by Ben.Marsh Separate archive metadata from FArchive into FArchiveContext, so it can be safely exposed to consumers of FStructuredArchive. Change 3772906 by Graeme.Thornton TextAssetCommandlet - Utility commandlet for testing/converting to text asset format Change 3772932 by Ben.Marsh Fix "String:" prefix not being stripped from escaped string values. Change 3772942 by Graeme.Thornton Add experimental setting to enable in-editor text asset format functionality Add "export to text" option into the content browser asset actions context menu Change 3772955 by Ben.Marsh Add a new "stream" compound type to FStructuredArchive, which allows serializing a sequence of elements similarly to an array, but without serializing an explicit size. Allows passing through data to an underlying binary archive without breaking compatibility. Change 3772963 by Ben.Marsh Allow querying record keys and stream lengths from annotated archive formatters, since these archives have markup for field boundaries. Change 3773010 by Graeme.Thornton Added CORE_API to FArchiveFromStructuredArchive Gave text asset format experimental option a slightly less random tooltip comment Change 3773057 by Ben.Marsh Add a flag to FArchive to determine whether the archive is text (IsTextFormat()). Add support for seeking within FArchiveFromStructuredArchive. For text formats, data is serialized to an in-memory buffer, with names and objects serialized as indices into an array. For non-text formats, data is serialized directly to the underlying archive. Also rename FStructuredArchive::TryEnterSlot() to TryEnterField(). Change 3773118 by Steve.Robb TSignedIntType and TUnsignedIntType type traits for getting an integer type of a given size. Change 3773122 by Steve.Robb TAtomic fixes for pointer arithmetic. TSignedIntType used instead of reimplementing its own trait. Change 3773123 by Steve.Robb Unit tests for TAtomic. Change 3773138 by Steve.Robb Run numeric tests on integer types instead of basic tests. Fix for compiler warnings when subtracting from unsigned atomics. Change 3773166 by Steve.Robb Refactoring of arithmetic operations into its own class, then basing the pointer and integral versions on that. Change 3774216 by Gil.Gribb UE4 - Fix rare crash in the pak precacher immediately after unmounting a pak file. Change 3774426 by Ben.Marsh Copy all C# tools to a staging directory before compiling them. This prevents access violations when compiling tools like iPhonePackager that reference DotNETCommon, and ensures we strip NotForLicensees folders out of them all. See: https://answers.unrealengine.com/questions/726010/418-will-not-build-from-source.html Change 3774658 by Ben.Marsh Improve error reporting while generating intellisense for project files. Include the name of the target being compiled, and allow project file generation to continue without it. Change 3775141 by Ben.Marsh Always output HTML5 diagnostics at "information" verbosity, to avoid every line being prefixed with "WARNING:" and screwing up the EC postprocessor. Change 3775459 by Ben.Marsh Removing .NET Framework Perforce DLL as runtime dependency of engine third party library. The actual library is linked statically. Change 3775522 by Ben.Marsh UGS: Treat .uproject and .uplugin files as code changes. Change 3775597 by Ben.Marsh Fix post-build steps for plugins not being executed. #jira UE-52754 Change 3777895 by Graeme.Thornton StructuredArchiveFromArchive - An adapter class for wrapping an existing FArchive with a structured archive Change 3777931 by Graeme.Thornton Refactored FArchiveUObjects serialization code into some static helpers Added FArchiveUObjectFromStructuredArchive which allows the adaption of a structured archive into an FArchive that supports the extra UObect serialization functions for weak/soft pointers Change 3777942 by Graeme.Thornton Added missing CORE_API to FStructuredArchive::FStream Added FStructuredArchive::FSlot insertion operator for char Added specialization of TArray<uint8> serializer for structured archives which serializes the contents as one value Change 3778084 by Graeme.Thornton Adding FPackageName::GetTextAssetPackageExtension() to access the file extension we use for text asset files Change 3778096 by Graeme.Thornton Add a constructor to FArchiveUObjectFromStructuredArchive that takes a slot and passes it to the base class Change 3778389 by Josh.Engebretson Fix an optimization issue with CPU benchmarking Add better support for debugging/testing local rocket builds UDN Link: https://udn.unrealengine.com/questions/400909/command-scalability-auto-gives-inaccurate-cpu-benc.html #jira UE-52192 Change 3778701 by Josh.Engebretson Ensure plugin content folders are mounted consistently. Fixes TryConvertFilenameToLongPackageName failing to work on plugin assets UDN Link: https://udn.unrealengine.com/questions/276386/tryconvertfilenametolongpackagename-fails-for-plug.html #jira UE-40317 Change 3778832 by Chad.Garyet Adding enterprise path support for PCB's for UGS Change 3780258 by Graeme.Thornton TextAssetCommandlet - Accumulate timings for loading packages and saving packages Change 3780463 by Graeme.Thornton CryptoKeys improvements - Enable CryptoKeys plugin by default - Attempt to inherit settings from the old system by default - Hide ini/index encryption settings from packaging settings and just inherit previous values into new system Minor UBT change to remove a trailing comma from the end of encryption/signing key binary strings Change 3780557 by Ben.Marsh Fix LoginFlow module not being precompiled for the binary release. Change 3780846 by Josh.Engebretson Improve filename to long package name resolution when provided a relative path Change 3780863 by Ben.Marsh UAT: Add a better error message when a C# project has an invalid reference. Change 3780911 by Ben.Marsh Update the BuildEditorAndTools.xml script to allow submitting archived binaries to Perforce. The "Submit To Perforce For UGS" node creates a zip of all the binaries that have been built, and submits it to the stream specified by the 'ArchiveStream' argument. Change 3780956 by Josh.Engebretson Add support for ! (RemoveKey) config command to UBT UDN Link: https://udn.unrealengine.com/questions/397267/index.html #jira UE-52033 Change 3782957 by Robert.Manuszewski UE4 - Fixed a linear search in EDL that caused performance problems for very large maps. Change 3784503 by Ben.Marsh Optimizations for FStructuredArchive: * Store the depth explicitly in element objects, to avoid having to loop through the scope stack to find it. * Prevent shrinking of arrays when removing elements. * Add an inline allocator to the scope and container stacks. Change 3784700 by Ben.Marsh Remove the inline allocator from FStructuredArchive; checking whether the inline or backup allocator is being used is slower than just allocating up-front. Change 3784989 by Ben.Marsh Compile out all the FStructuredArchive validation code when WITH_TEXT_ARCHIVE_SUPPORT = 0. Change 3786860 by Gil.Gribb UE4 - Remove no buffering flag from windows async IO because it disabled the disk cache entirely. Change 3787159 by Ben.Marsh Guard against UE4.0 backwards compatibility path when determining if an engine is a source distribution. Change 3787493 by Josh.Engebretson Parallel pak generation now uses MaxDegreeOfParallelism option which is now set to the number of CPU cores Moved cryptography settings parsing out of threaded CreatePak method to avoid concurrency issue in ConfigCache.TryReadFile Fix for multiple threads parsing ini keys (PR 3995) #PR 3995 #jira 52913 #jira 49503 Change 3787773 by Steve.Robb Fix for missing final values from FOREACH_ENUM_ macros. Change 3788287 by Ben.Marsh TBA: Add checks in debug builds that key names in maps and records for FStructuredArchive are unique. Change 3788678 by Ben.Marsh Fix compile error due to inability to instantiate TArray<> of forward declared struct. Convert set of key names to an array to avoid including Set.h in public header for FStructuredArchive. Change 3789353 by Graeme.Thornton Removed unused/rotten modes from TextAsset commandlet. Used existing "-iterations=n" switch to control a global iteration over the given command. Useful for performance testing. Change 3789396 by Ben.Marsh Move code to validate container keys/sizes into DO_GUARD_SLOW checks, and allocate container metadata instances dynamically to fix problems with references to things not declared in headers that can't be included from StructuredArchive.h Change 3789772 by Ben.Marsh Always strip trailing slashes from the end of paths specified by .build.cs files; they can cause quoted paths to be escaped on the command line. Change 3790003 by Ben.Marsh TBA: Rename FStructuredArchive::EElementType::Object to FStructuredArchive::EElementType::Record. Change 3790051 by Steve.Robb PIE is disabled during a hot reload. Hot reload in editor is disabled during PIE. Hot reload from IDE is deferred until after PIE is exited. Compiling multiple times before a hot reload (e.g. compiling multiple times in PIE) will now load the most recent change. #jira UE-20357 #jira UE-52137 Change 3790709 by Steve.Robb Better move support for TVariant. EVariantTypes switched over to using an enum class to aid debugger visualization. Change 3791422 by Ben.Marsh TBA: Return the type of a field from an annotated archive formatter at the point that we enter it, rather than querying all the time. Change 3791489 by Graeme.Thornton TBA: Change StructuredArchiveFromArchive adapter to use the archive.Open() result directly, now that it's a slot and not a record Change 3792344 by Ben.Marsh Improvements to base64 encoding library. * Now supports encoding and decoding with ANSICHAR and WIDECHAR implementations. * Added support for decoding base-64 blobs without padding marks. * Added support for decoding into pre-allocated buffer. * Added constexpr functions for determining the encoded and maximum decoded size of an input buffer. * Prevent writes past the end of allocated buffer (no longer need to manually remove padding bytes). Change 3792949 by Ben.Marsh TBA: Rename FAnnotatedArchiveFormatter to FAnnotatedStructuredArchiveFormatter. Change 3794078 by Robert.Manuszewski Fixing a crash that could happen when FGCObjects were constructed and destructed when shutting down the engine #jira UE-52392 Change 3794413 by Ben.Marsh TBA: Remove the element type parameter to SetScope(). It isn't really needed; we can just assume the element ID correctly identifies the item on the stack. Change 3794731 by Ben.Marsh TBA: Optimize creation of stack elements for empty slots in FStructuredArchive. This saves a lot of bookkeeping when serializing a large number of individual fields. Since only one slot can be active at a time (and it only exists temporarily, until we write into it), we can just store the element ID assigned to it in a member variable. Change 3795081 by Ben.Marsh UBT: Move LinuxCommon.cs into Platform/Linux folder. Change 3795137 by Ben.Marsh UBT: Allow modules to specify private compiler definitions from the build.cs file, only visible within that module (via the "PrivateDefinitions" property). Change 3795247 by Ben.Marsh Fix missing header when creating a new interface from the editor new code wizard. #jira UE-53174 Change 3796025 by Graeme.Thornton Fixed some deprecated "Definitions" warnings in OpenCV build files Change 3796103 by Graeme.Thornton Disable experimental text asset option - it does nothing useful yet. Change 3796157 by Graeme.Thornton Fix path type mismatch in visual studio source code accessor meaning that the DTE comms wouldn't identify a running instance of VS as having the current solution open. #jira UE-53206 Change 3796315 by Ben.Marsh Move Formatter to the correct position for initializer. #jira UE-53208 Change 3797082 by Ben.Marsh UAT: Work around for exception thrown by launching cook with "-platform=Android_ETC1 -targetplatform=Android -cookflavor=ETC1". Anrdoid_ETC1 is not a valid platform (it's a cook platform), and can't be parsed by UAT. #jira UE-53232 Change 3799050 by Ben.Marsh Make UnrealPak.version files writable for Mac and Linux. Change 3801012 by Graeme.Thornton VSCode - Update source accessor to use code workspace as it's target, rather than just the project directory Change 3801214 by Gil.Gribb UE4 - Remove assert to work around minor problem with lock free lists. #jira UE-49600 Change 3801219 by Steve.Robb WeakObjectPtrs now warn when casting away const. Change 3801299 by Graeme.Thornton Fix quote issue with foreign project build tasks on PC Change 3803292 by Graeme.Thornton Fix crash on startup when using cook-on-the-side. Force a flush of the asset registry background scanning when creating the cook-on-the-side platform registries Change 3803559 by Steve.Robb TSAN fix for FMalloc::MaxSingleAlloc. Change 3803735 by Graeme.Thornton Last set of cryptokeys changes - Added some comments for editor exposed settings - Split "encrypt assets" option into "encrypt uassets" and "encrypt all assets" Change 3803929 by Ben.Marsh UGS: Show an in-place error panel when a project fails to open, allowing the user to retry and have their tabs saved instead of creating a modal dialog. Change 3624590 by Steve.Robb AddReferencedObjects now generates a compile error with containers of UObject*s where the UObjectType is forward-declared, as these which won't be added to the reference collector. Tidy-up of existing calls to AddReferencedObjects. Change 3629473 by Ben.Marsh Build: Rename the option for embedding source server information in PDB files for installed engine builds. Change 3632894 by Steve.Robb VARARG* macros deprecated and usage replaced with variadic templates. Change 3640704 by Steve.Robb MakeWeakObjectPtr added, which deduces a TWeakObjectPtr type from a raw pointer type. Fix to TWeakObjectPtr's constructor which implicitly removed const. Fixes to everything which didn't compile as a result. Change 3650813 by Graeme.Thornton Removed FStartupPackages and associated code Change 3651000 by Ben.Marsh Return the stack size from FPlatformStackWalk::CaptureStackBacktrace() rather than checking for the first null pointer, to prevent truncated callstacks if parts of the stack are zeroed out. #jira UE-49980 Change 3690842 by Steve.Robb FPlatformAtomics::AtomicRead added - needs optimizing. AtomicRead() used in FThreadSafeCounter::GetValue(). Change 3699416 by Steve.Robb Fix to debugger visualization of TArray with a TInlineAllocator or TFixedAllocator. Improved readability of TSparseArray visualization. Change 3720812 by Steve.Robb Atomic functions for 8-bit and 16-bit. Android, Linux and Switch implementations now just use the Clang implementation. AtomicRead64 deprecated in favor of the int64* AtomicRead overload. Change 3722698 by Steve.Robb VS debugger visualizers for TAtomic. Change 3732270 by Steve.Robb Relaxed stores and loads. Change 3749315 by Graeme.Thornton If UAT is invoked with platforms in both the -platform and -targetplatform command line switches, build using all of them rather than just the ones in -targetplatform #jira UE-52034 Change 3750657 by Josh.Engebretson Fixed issue when debugging editor cook/package and project launch operations #jira UE-52207 Change 3758514 by Steve.Robb Fixes to FString::Printf having non-literals being passed as its formatting string. Change 3763356 by Steve.Robb ENamedThreads::RenderThread and ENamedThreads::RenderThread_Local encapsulated by getters and setters. Change 3770549 by Steve.Robb Removal of obsolete PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS and PLATFORM_COMPILER_HAS_AUTO_RETURN_TYPES. Tidy up of existing code which uses it. Change 3770553 by Ben.Marsh Adding structured serialization API to Core/CoreUObject for use with text-based assets. * FStructuredArchive abstracts an archive which is made up of compound types (records, arrays, and maps). Values are stored in slots within these types. * Records are string -> value dictionaries where the key names can be compiled out in non-editor builds or when WITH_TEXT_ARCHIVE_SUPPORT = 0. * Maps are string -> value dictionaries where the key names are present regardless of the build type. * Proxy objects are defined to express the context for serialization (FStructuredArchive::FRecord, FStructuredArchive::FArray, FStructuredArchive::FMap, FStructuredArchive::FSlot) which allows basic validation through static typing. These objects act as lightweight handles, and can be cheaply constructed and passed around on the stack. Most serialization to and from the archive is done through these objects. * Runtime checks perform additional validation to ensure that serialized data is well formed and written in a forward-only manner, regardless of the underlying archive type. * The actual input/output format is determined by a separate interface (FArchiveFormatter). Context validation (always causing matching LeaveArray for every EnterArray, etc...) is done by FStructuredArchive, so implementing these classes is fairly trivial. FArchiveFormatter can be de-virtualized in non-editor builds, where WITH_TEXT_ARCHIVE_SUPPORT = 0. * Includes implementations of FArchiveFormatter for binary and JSON formats. Change 3771105 by Steve.Robb Deprecation warnings for PLATFORM_COMPILER_HAS_AUTO_RETURN_TYPES and PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS. Fix for incorrect warning formatting on Clang platforms. Change 3771520 by Steve.Robb Start moving Clang-using platforms' pre-setup stuff into a Clang-specific header. Change 3771564 by Steve.Robb More common macros moved to the Clang pre-setup header. Change 3771613 by Steve.Robb EMIT_CUSTOM_WARNING_AT_LINE moved to ClangPlatformCompilerPreSetup.h. Change 3772881 by Ben.Marsh Add support for serializing FName and UObject through FStructuredArchive. In order to allow custom linker behavior when serializing objects: * The constructor to JSON input formatter now takes a delegate to convert a string object name into a UObject pointer. * The constructor to tagged binary formatter takes a delegate to serialize a UObject pointer into any form it chooses (likely an integer index into the import table) Object and name types are stored as strings in JSON, using an "Object:" or "Name:" prefix to differentiate them from regular strings. Any strings that already contain one of these prefixes are prepended with a "String:" prefix (as is any string that already has a "String:" prefix). Change 3772941 by Graeme.Thornton Make build work when including StructuredArchive.h from core container types Added standard header to new files Add structured archive serializer for TArray Fix bug in structured archive where containers weren't being popped from the scope stack Change 3772972 by Ben.Marsh Add an adapter which presents a legacy FArchive interface to a FStructuredArchive slot. Data is serialized into this slot as a stream of elements; raw data is buffered up into fixed size chunks, names and objects are serialized separately. When used with FBinaryArchiveFormatter, this should result in all data being passed through to the underlying archive in a backwards compatible way, wiith no additional bookkeeping fields. Change 3773006 by Ben.Marsh Rename FStructuredArchive::FRecord::EnterSlot() to EnterField(). Change 3773013 by Steve.Robb bUseInlining target rule added to UnrealBuildTool, which defaults to true, to allow inlining to be disabled for debugging purposes. Change 3774499 by Ben.Marsh Minor fixes for FStructuredArchive related classes: * Text-based archive formats are now compiled out when WITH_TEXT_ARCHIVE_SUPPORT = 0. * Fixed issue with FTaggedBinaryArchiveFormatter state becoming corrupted when looking ahead at field types. * FArchiveFieldName constructor is now explicit, to fix cases where strings were being passed directly to serialize functions. Change 3774600 by Ben.Marsh Add CopyFormattedData() function, which can copy data from one formatter to another. Add a test case to SerializationAPI that converts from data -> JSON -> binary -> JSON -> data. This function can be used to implement a generic visitor pattern, by implementing a FArchiveFormatter which receives the deserialized data. Change 3789721 by Ben.Marsh TBA: Split FTaggedBinaryArchiveFormatter into separate classes for reading and writing. Change 3789920 by Ben.Marsh TBA: Support automatic coercion between any numeric types in tagged binary archives. Also report the smallest type that can contain a value, rather than just in32/double. #jira UECORE-364 Change 3789982 by Ben.Marsh TBA: Change FStructuredArchive::Open() to return a slot, rather than a record, to make it easier to implement a raw FArchive adapter. Change 3792466 by Ben.Marsh TBA: Better handling of raw data in text based assets. Short sequences of binary data are Base64 encoded as a single string. Longer sequences are stored as an array of Base64 encoded lines, push a SHA1 hash to detect cases where the data was merged incorrectly. In order to allow inference of the correct type for a field, other fields called "Base64" will be escaped to "_Base64", and any field beginning with "_" will have an additional underscore inserted. Reading files back in reverses these transformations. Change 3792935 by Ben.Marsh TBA: Rename FArchiveFormatter to FStructuredArchiveFormatter for consistency with FStructuredArchive. Change 3795100 by Ben.Marsh UBT: Rename the ModuleRules Definitions property to PublicDefinitions, to make its semantics clearer. Change 3795106 by Ben.Marsh Replace all internal usages of ModuleRules.Definitions, and replace it with ModuleRules.PublicDefinitions. Change 3796275 by Ben.Marsh Fix paths to Version.h includes from resource files. Change 3800683 by Josh.Engebretson Remove WER from Mac and Linux crash reports in favor of unified runtime-xml format #jira UE-50073 Change 3803545 by Steve.Robb TWeakObjPtr const-dropping assignment fix. Fixes to change. [CL 3805231 by Ben Marsh in Main branch]
2017-12-12 18:32:45 -05:00
{
CompletedRequests.Add(Req);
}
}
for (FPakProcessedReadRequest* Req : CompletedRequests)
{
if (LiveRequests.Contains(Req))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Req->RequestIsComplete();
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Block.bCPUWorkIsComplete = true;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
else
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(&Block != Blocks[Block.BlockIndex] && Block.bCancelledBlock);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
// must have been canceled, clean up
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FPakProcessedReadRequest* Owner;
check(OutstandingCancelMapBlock.Contains(&Block));
Owner = OutstandingCancelMapBlock[&Block];
OutstandingCancelMapBlock.Remove(&Block);
check(LiveRequests.Contains(Owner));
if (Owner->CancelBlockComplete(&Block))
{
LiveRequests.Remove(Owner);
}
ClearBlock(Block);
delete &Block;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
void ClearBlock(FCachedAsyncBlock& Block, bool bForDestructorShouldAlreadyBeClear = false)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
check(!Block.RawRequest);
Block.RawRequest = nullptr;
Block.CPUWorkGraphEvent = nullptr;
if (Block.Raw)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
check(!bForDestructorShouldAlreadyBeClear);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
// this was a cancel, clean it up now
FMemory::Free(Block.Raw);
Block.Raw = nullptr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.RawSize > 0);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.RawSize);
}
Block.RawSize = 0;
if (Block.Processed)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
check(bForDestructorShouldAlreadyBeClear == false);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
FMemory::Free(Block.Processed);
Block.Processed = nullptr;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Block.ProcessedSize > 0);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
DEC_MEMORY_STAT_BY(STAT_AsyncFileMemory, Block.ProcessedSize);
}
Block.ProcessedSize = 0;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3345728) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3315219 on 2017/02/21 by Steve.Robb Fix for FObjectAndNameAsStringProxyArchive when serializing a TWeakObjectPtr. Change 3315285 on 2017/02/21 by Steve.Robb Explicitly pass string builder into code generation functions. Change 3315341 on 2017/02/21 by Ben.Marsh UAT: Clean up some formatting in StreamCopyDescription output - remove #fyi lines, exclude merge commits, and remove some blank lines. Change 3315350 on 2017/02/21 by Ben.Marsh Fix shared resource files not being rebuilt if the version header changes. Change 3315823 on 2017/02/21 by Ben.Marsh UAT: Use a class derived from AutomationException to return information specific to commandlets failing, rather than putting it in the base class. Change 3315826 on 2017/02/21 by Ben.Marsh UAT: Move Distiller class from general use in UAT; FileFilter provides a much safer and fully featured implementation of the same concepts. Change 3315857 on 2017/02/21 by Ben.Marsh UBT: Remove the StripBaseDirectory() and MakeRerootedFilePath() utility functions from UBT. These operations can now be done more safely with FileReference objects. Change 3315942 on 2017/02/21 by Ben.Marsh UBT: Convert FileFilter to use FileReference and DirectoryReference arguments everywhere. Change 3316236 on 2017/02/22 by Maciej.Mroz #jira UE-42045 Nativization Fixed Warning: TEnumAsByte is not intended for use with enum Change 3316253 on 2017/02/22 by Robert.Manuszewski Fixes for the async log file writer hangs and crashes. - potential fix for the logging system hang when running out of disk space while flushing log - fix for unexpected concurrency assert when flushing the log buffer to disk Change 3316293 on 2017/02/22 by Steve.Robb GetTypeHash and lexicographical comparison operators (operator<() etc.) for TTuple. Change 3316342 on 2017/02/22 by Maciej.Mroz Nativization: Wrappers (stubs) required only by other wrappers are properly generated. #codereview: Mike.Beach Change 3316344 on 2017/02/22 by Maciej.Mroz Fixed crash in nativized Odin Async loading properly handles nativized structs. Change 3316359 on 2017/02/22 by Steve.Robb GitHub #3287 : Ignore #pragma in USTRUCTs #jira UE-42248 Change 3316389 on 2017/02/22 by Matthew.Griffin Switched Installed Engine Filters to multiline properties to make them more readable Added Oodle to list of excluded plugins #jira UE-42030 Change 3316392 on 2017/02/22 by Ben.Marsh UBT: Split out FileReference/DirectoryReference classes into their own file. Change 3316394 on 2017/02/22 by Ben.Marsh UBT: Move FileReference/DirectoryReference extension methods into the appropriate file. Change 3316411 on 2017/02/22 by Ben.Marsh UAT: Remove file functions that take multiple arguments. There's not really a compelling use case for these to exist over looping from the calling code. Change 3316446 on 2017/02/22 by Ben.Marsh UAT: Try disabling function name prefix to log output from UAT, to see if it improves readability. Function names are still included in the log file for debugging. Change 3316575 on 2017/02/22 by Ben.Marsh UAT: Remove unused functionality for dealing with labels, and output a more human readable list of P4 settings at startup. Change 3318481 on 2017/02/22 by Steve.Robb Use of FMath::IsPowerOfTwo in check. Static assert to ensure that an inline set allocator will have a hash size of a power of two. Change 3318496 on 2017/02/22 by Steve.Robb Fix for TSet visualizers. Change 3318919 on 2017/02/23 by Steve.Robb Fix for hot reloading UScriptStruct-derived objects in a module, where the CDOs of these objects haven't had PrepareCppStructOps() called on them. #jira UE-42178 Change 3318942 on 2017/02/23 by Steve.Robb Removal of a redundant insertion which can cause problems on reallocation of the map. Change 3319010 on 2017/02/23 by Ben.Marsh UBT: Fix exception when a file that was previously part of the working set is deleted. Change 3319134 on 2017/02/23 by Robert.Manuszewski Better fix for a deadlock when flushing log while it's already being flushed due to flush timer on the async log writer thread. Change 3319249 on 2017/02/23 by Matthew.Griffin Added a function to check if running with debug game libs instead of checking command line in multiple places Added -RunConfig parameter, which has equivalent result to -debug if value of parameter starts with 'debug' Added -RunConfig=$(Configuration) as a default commandline argument for Mac so that editor can use debug game libs Removed -Shipping argument from VCProject generation as it's not used anymore Change 3319253 on 2017/02/23 by Maciej.Mroz #jira UE-41846 New mechanism to gather modules necessary for Nativized Assets. The modules are listed based on included headers. Previously the dependencies was gathered only in FBlueprintNativeCodeGenManifest::GatherModuleDependencies. Change 3319591 on 2017/02/23 by Ben.Marsh Don't strip prefixes beginning with WARNING: or ERROR: using the Postp filter. Change 3320357 on 2017/02/23 by Steven.Hutton Slight changes to Add Crash method - Returning select fields instead of entity objects in queries for perf reasons. Change 3320361 on 2017/02/23 by Steven.Hutton Performance improvements subsequent to the recent database changes. Change 3320446 on 2017/02/23 by Steven.Hutton adding my temporary performance tracker class - reports to a private slack channel with add crash performance data. Change 3320479 on 2017/02/23 by Ben.Marsh Fix CIS errors. Change 3320576 on 2017/02/23 by Jin.Zhang Update CrashReporter to use AWS Change 3320742 on 2017/02/23 by Jin.Zhang Merging crash caching Change 3321119 on 2017/02/24 by Robert.Manuszewski DLL injection protection support for non-monolithic builds Change 3323308 on 2017/02/27 by Matthew.Griffin Moved compilation of SwarmInterface after its dependencies so that we will see a build failure immediately if they change version in future Change 3323423 on 2017/02/27 by Chad.Garyet Adding a script to check and warn about csproj targeted .net versions being mismatched #JIRA UE-39624 Change 3323442 on 2017/02/27 by Ben.Marsh UBT: Output an error if an engine module references a game module. Change 3323743 on 2017/02/27 by Ben.Marsh PR #3303: Resolved PVS scan issues (Contributed by projectgheist) Change 3323748 on 2017/02/27 by Ben.Marsh Convert whitespace to tabs. Change 3324851 on 2017/02/28 by Chris.Wood Add Odin symbol locations to engine config for MDD on CR server. NotForLicensees Change 3324979 on 2017/02/28 by Gil.Gribb Fixed bad merge of priority change in the EDL. Change 3326889 on 2017/03/01 by Steven.Hutton Update to buggs controller to generate faster queries. Change 3326910 on 2017/03/01 by Robert.Manuszewski Removing legacy #if from PackageFileSummary. Change 3327118 on 2017/03/01 by Gil.Gribb UE4 - Fixed race that resulted in a memory leak when reading compressed paks. Change 3327633 on 2017/03/01 by Gil.Gribb UE4 - Added a cvar to control the pak precacher thottle. Change 3327674 on 2017/03/01 by Steve.Robb Unified boilerplate between all generated code files. Change 3328544 on 2017/03/01 by Chris.Wood CrashReportProcess.config update (CRP v1.2.17) Tweaks to a few values. Update website URL to explicitly point to old, non-cloud site on devweb-02. Change 3328714 on 2017/03/01 by Chris.Wood Correct CRP config regression. Point website at new cloud site. Still v1.2.17 Change 3329192 on 2017/03/02 by Matthew.Griffin Added Shared Build Id file to the list of Precompiled Build Dependencies in a target receipt so that it's brought into an installed build Change 3329285 on 2017/03/02 by Ben.Marsh UGS: Allow a project to specify a filters for the streams that should be displayed for fast-switching to. The QuickSelectStreamList seting in the [Options] section of the project settings references a depot path containing a list of strings used to filter the stream list. An option is shown to switch back to showing all available streams, if desired. Change 3330636 on 2017/03/02 by Ben.Marsh UBT: Bump version number of C++ include cache to force it to be rebuilt with additional include information for the default RC files. Change 3331262 on 2017/03/03 by Robert.Manuszewski Merging Dev-LoadTimes to Dev-Core (Garbage Collection performance improvements) - Improved GC multithreading - Improved BeginDestroy performance - Introduced ULevelActorCluster for StaticMeshActor and ReflectionCapture actor clustering (can be toggled through project settings or console command gc.ActorClusterEnabled) - A few improvements to AddReferencedObjects functions - Misc improvements to GC code - Garbage Collector now properly handles clusters which had their objects marked as pending kill - Blueprints can now create clusters too (can be toggled through project settings or console command gc.BlueprintClusteringEnabled, defaults to disabled) Change 3331285 on 2017/03/03 by Robert.Manuszewski A few fixes for the previous check-in. Change 3332001 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN file containing the valid settings for BuildConfiguration.xml. Pass -configdoc=<filename> on the command line to generate such a file. Change 3332022 on 2017/03/03 by Ben.Marsh Update documentation for where to find the BuildConfiguration settings. Change 3332031 on 2017/03/03 by Ben.Marsh Remove documentation for Windows XP support; it has been removed in the 4.16 release. Change 3332256 on 2017/03/03 by Ben.Marsh UBT: Add support for generating a UDN page containing module and target settings. Change 3332458 on 2017/03/03 by Ben.Marsh UBT: Improvements to generated documentation. Change 3332459 on 2017/03/03 by Ben.Marsh Add generated documentation for .target.cs files, .build.cs files, and BuildConfiguration.xml files. Change 3332460 on 2017/03/03 by Ben.Marsh UBT: Make LinkTypePrivate actually private, so it doesn't show up in the docs. Change 3332899 on 2017/03/06 by Robert.Manuszewski Making sure actor clustering is not used in the editor (fix for actors being deleted when GC runs in the editor) #jira UE-42548 Change 3332955 on 2017/03/06 by Maciej.Mroz Nativization distinguishes client and server platform: - Separated lists on additional assets, additional modules, excluded assets, excluded modules, excluded paths (in config) - Context (compilation options, nativization options and platform) is deliveren to BPCOmpilerCppBackend in FCompilerNativizationOptions struct. - Wrappers (for unconverted BPs) are created only when they are directly called. - Fortnite dedicated server can be nativized Change 3332990 on 2017/03/06 by Ben.Marsh UBT: Add more comprehensive wrapper methods for System.IO.File and System.IO.Directory to FileReference and DirectoryReference. Change 3333032 on 2017/03/06 by Ben.Marsh Documentation for build tools Change 3333037 on 2017/03/06 by Ben.Marsh Add a build step to extract UAT and UBT documentation from XML comments. Change 3333089 on 2017/03/06 by Ben.Marsh UAT: Re-enable logging the calling function to the console in UAT. Needs a pass for readability first. Change 3333651 on 2017/03/06 by Gil.Gribb UE4 - Fix a werid recursive situation where StaticLoadObject could return an object that has not finished loading. Also produces a fatal error if this sometimes happens. EDL only. Change 3335236 on 2017/03/07 by Ben.Marsh UGS: Set the sync changelist separately to the compatibility changelist. Change 3335261 on 2017/03/07 by Gil.Gribb UE4 - Fixed batched render fences when BeginDestroy calls FlushRenderingCommands. Change 3335740 on 2017/03/07 by Gil.Gribb maybe fix static analysis warning Change 3335945 on 2017/03/07 by Steve.Robb Move FFindInstancedReferenceSubobjectHelper code out of header. Add map/set property support to allow instanced members of these container types to be handled during CPFUO. https://udn.unrealengine.com/questions/349232/tmap-with-instanced-object-as-value-gets-cleared-o.html Change 3336693 on 2017/03/07 by Ben.Marsh UBT: Use shared PCHs for game plugins by default, to reduce time spent generating individual PCHs. Change 3336694 on 2017/03/07 by Steve.Robb Static assert added to TMap to prevent the use of keys which don't implement a GetTypeHash. Fixes to types which relied on implicit conversions when calling GetTypeHash. Workaround in SAssetView.h and PropertyEditorModule.h for an apparent VC bug where the compiler wrongly instantiates TPointerIsConvertibleFromTo for certain forward-declared types, causing future TSharedPtr conversions to fail. #jira UE-42441 Change 3336698 on 2017/03/07 by Steve.Robb Hardcoded endpoint handling replaced with a generic string. Obsolete .proto and .java code generation removed. Change 3336811 on 2017/03/07 by Wes.Hunt Add a game blacklist to the crash report processor. Fixed a syntax error in Config.cs, added a XML comment to shut up a warning. Change 3336973 on 2017/03/08 by Steve.Robb Fix for missing GetTypeHash in a plugin. Change 3336996 on 2017/03/08 by Steve.Robb Significant refactor of code generation, to try and make data flow more apparent. Change 3337571 on 2017/03/08 by Steve.Robb CIS fixes for missing GetTypeHash functions. Non-unity fix. Change 3337588 on 2017/03/08 by Gil.Gribb UE4 - Fixed obscure check with flushing rhi resources. Change 3337620 on 2017/03/08 by Steve.Robb WITH_HOT_RELOAD_CTORS macros removed. UseVTableConstructors config option removed. Change 3339369 on 2017/03/09 by Steve.Robb GetTypeHash overload for nn::account::Uid. Change 3339464 on 2017/03/09 by Daniel.Lamb Fixed assert in 4.15 to do with trying to gather dependency info from invalid packages. #jira UE-42583 #test Editor + Cook + Run shootergame Change 3339465 on 2017/03/09 by Maciej.Mroz Fixed serialization issue, after UserDefinedEnum was used in EnumProperty. Change 3339469 on 2017/03/09 by Maciej.Mroz Fixed Nativization problem, when default value is passed as non-const reference. Change 3340178 on 2017/03/09 by Daniel.Lamb Added support for in memory only packages. The Cooker ignores these and added core functions to recognize these packages. Other systems will need to add support where nessisary. Change 3341002 on 2017/03/10 by Maciej.Mroz Nativization: Fixed FFindHeadersToInclude. Headers necessary for owners of subobjects are properly included. Change 3341076 on 2017/03/10 by Steve.Robb Fix for FBakedTextureSourceInfo move semantics. #jira UE-42658 Change 3341160 on 2017/03/10 by Gil.Gribb UE4 - Fix hazard with SetMaterialUsage from a thread. Change 3341409 on 2017/03/10 by Steve.Robb Reduction of the generated code size for StaticRegisterNatives functions. Change 3341523 on 2017/03/10 by Steve.Robb Code generation simplified. Change 3341800 on 2017/03/10 by Ben.Marsh UnrealVS: Fix UnrealVS compatibility with RTM version of Visual Studio 2017. 2017 toolchain for extensions is no longer able to build <= 2015 extensions due to validation of the VSIX manifest, so create a separate solution for it. Change 3342034 on 2017/03/10 by Ben.Marsh Fix compiler setting not being loaded correctly into the Windows target settings dialog. #jira UE-42746 Change 3342041 on 2017/03/10 by Ben.Marsh Fix -ErrorOnEngineContentUse not being set in the cooker options correctly. Change 3342094 on 2017/03/10 by Steve.Robb Fix to deteministic name order during code generation. Change 3342251 on 2017/03/10 by Daniel.Lamb Integrate fix for resave lightmaps commandlet when upgrading from no mapbuilddatapackages to mapbuilddatapackages. #thanks Tim.Hagberg #test None Change 3342961 on 2017/03/13 by Robert.Manuszewski Fixing memory leak when playing while running -nullrhi on the commandline in cooked games caused by shader resources not being destroyed. #jira FORT-38977 Change 3343022 on 2017/03/13 by Steve.Robb GetTypeHash fixes for FUniqueNetIdLive. #jira UE-42788 Change 3343448 on 2017/03/13 by Steve.Robb Compiled-in defer object order fixed. Debuggability of the deferred registration map improved. #jira UE-42828 [CL 3345747 by Ben Marsh in Main branch]
2017-03-14 15:48:33 -04:00
Block.bCPUWorkIsComplete = false;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Block.bInFlight = false;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
void RemoveRequest(FPakProcessedReadRequest* Req, int64 Offset, int64 BytesToRead)
{
FScopeLock ScopedLock(&CriticalSection);
check(LiveRequests.Contains(Req));
LiveRequests.Remove(Req);
int32 FirstBlock = Offset / FileEntry.CompressionBlockSize;
int32 LastBlock = (Offset + BytesToRead - 1) / FileEntry.CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(FirstBlock >= 0 && FirstBlock < Blocks.Num() && LastBlock >= 0 && LastBlock < Blocks.Num() && FirstBlock <= LastBlock);
for (int32 BlockIndex = FirstBlock; BlockIndex <= LastBlock; BlockIndex++)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& Block = GetBlock(BlockIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(Block.RefCount > 0);
if (!--Block.RefCount)
{
if (Block.RawRequest)
{
Block.RawRequest->Cancel();
Block.RawRequest->WaitCompletion();
delete Block.RawRequest;
Block.RawRequest = nullptr;
NumLiveRawRequests--;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
ClearBlock(Block);
}
}
}
void HandleCanceledRequest(TSet<FCachedAsyncBlock*>& MyCanceledBlocks, FPakProcessedReadRequest* Req, int64 Offset, int64 BytesToRead)
{
FScopeLock ScopedLock(&CriticalSection);
check(LiveRequests.Contains(Req));
int32 FirstBlock = Offset / FileEntry.CompressionBlockSize;
int32 LastBlock = (Offset + BytesToRead - 1) / FileEntry.CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(FirstBlock >= 0 && FirstBlock < Blocks.Num() && LastBlock >= 0 && LastBlock < Blocks.Num() && FirstBlock <= LastBlock);
for (int32 BlockIndex = FirstBlock; BlockIndex <= LastBlock; BlockIndex++)
{
FCachedAsyncBlock& Block = GetBlock(BlockIndex);
check(Block.RefCount > 0);
if (!--Block.RefCount)
{
if (Block.bInFlight && !Block.bCPUWorkIsComplete)
{
MyCanceledBlocks.Add(&Block);
Blocks[BlockIndex] = nullptr;
check(!OutstandingCancelMapBlock.Contains(&Block));
OutstandingCancelMapBlock.Add(&Block, Req);
Block.bCancelledBlock = true;
FPlatformMisc::MemoryBarrier();
Block.RawRequest->Cancel();
}
else
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
ClearBlock(Block);
}
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (!MyCanceledBlocks.Num())
{
LiveRequests.Remove(Req);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
void GatherResults(uint8* Memory, int64 Offset, int64 BytesToRead)
{
// no lock here, I don't think it is needed because we have a ref count.
int32 FirstBlock = Offset / FileEntry.CompressionBlockSize;
int32 LastBlock = (Offset + BytesToRead - 1) / FileEntry.CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(FirstBlock >= 0 && FirstBlock < Blocks.Num() && LastBlock >= 0 && LastBlock < Blocks.Num() && FirstBlock <= LastBlock);
for (int32 BlockIndex = FirstBlock; BlockIndex <= LastBlock; BlockIndex++)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
FCachedAsyncBlock& Block = GetBlock(BlockIndex);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
check(Block.RefCount > 0 && Block.Processed && Block.ProcessedSize);
int64 BlockStart = int64(BlockIndex) * int64(FileEntry.CompressionBlockSize);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
int64 BlockEnd = BlockStart + Block.ProcessedSize;
int64 SrcOffset = 0;
int64 DestOffset = BlockStart - Offset;
if (DestOffset < 0)
{
SrcOffset -= DestOffset;
DestOffset = 0;
}
int64 CopySize = Block.ProcessedSize;
if (DestOffset + CopySize > BytesToRead)
{
CopySize = BytesToRead - DestOffset;
}
if (SrcOffset + CopySize > Block.ProcessedSize)
{
CopySize = Block.ProcessedSize - SrcOffset;
}
check(CopySize > 0 && DestOffset >= 0 && DestOffset + CopySize <= BytesToRead);
check(SrcOffset >= 0 && SrcOffset + CopySize <= Block.ProcessedSize);
FMemory::Memcpy(Memory + DestOffset, Block.Processed + SrcOffset, CopySize);
check(Block.RefCount > 0);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
}
};
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
void FPakProcessedReadRequest::CancelRawRequests()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
bHasCancelled = true;
Owner->HandleCanceledRequest(MyCanceledBlocks, this, Offset, BytesToRead);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
void FPakProcessedReadRequest::GatherResults()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (!bUserSuppliedMemory)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(!Memory);
Memory = (uint8*)FMemory::Malloc(BytesToRead);
INC_MEMORY_STAT_BY(STAT_AsyncFileMemory, BytesToRead);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Memory);
Owner->GatherResults(Memory, Offset, BytesToRead);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
void FPakProcessedReadRequest::DoneWithRawRequests()
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Owner->RemoveRequest(this, Offset, BytesToRead);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
bool FPakProcessedReadRequest::CheckCompletion(const FPakEntry& FileEntry, int32 BlockIndex, TArray<FCachedAsyncBlock*>& Blocks)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
if (!bRequestOutstanding || bHasCompleted || bHasCancelled)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
return false;
}
{
int64 BlockStart = int64(BlockIndex) * int64(FileEntry.CompressionBlockSize);
int64 BlockEnd = int64(BlockIndex + 1) * int64(FileEntry.CompressionBlockSize);
if (Offset >= BlockEnd || Offset + BytesToRead <= BlockStart)
{
return false;
}
}
int32 FirstBlock = Offset / FileEntry.CompressionBlockSize;
int32 LastBlock = (Offset + BytesToRead - 1) / FileEntry.CompressionBlockSize;
check(FirstBlock >= 0 && FirstBlock < Blocks.Num() && LastBlock >= 0 && LastBlock < Blocks.Num() && FirstBlock <= LastBlock);
for (int32 MyBlockIndex = FirstBlock; MyBlockIndex <= LastBlock; MyBlockIndex++)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
check(Blocks[MyBlockIndex]);
if (!Blocks[MyBlockIndex]->Processed)
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
return false;
}
}
bHasCompleted = true;
return true;
}
void FAsyncIOCPUWorkTask::DoTask(ENamedThreads::Type CurrentThread, const FGraphEventRef& MyCompletionGraphEvent)
{
SCOPED_NAMED_EVENT(FAsyncIOCPUWorkTask_DoTask, FColor::Cyan);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
Owner.DoProcessing(BlockPtr);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
Copying //Ocean/Main to //UE4/Dev-Main (Source: //Ocean/Main @ 3755227) #lockdown Nick.Penwarden #rb none ======================== MAJOR FEATURES + CHANGES ======================== Change 3754304 by Chris.Phillips #ue4: Fix for crash that occurred when seeking past the end of an archive (#jira OCN-8990). Change 3748500 by josh.jensen Fixed the round() function hack shader to determine whether the shader needs mediump or highp The shader fails to compile on some Android devices, because the precision keyword follows the round() definitions. Change 3747950 by Brian.Zaugg Exposed the virtual keyboard dismiss action to UMG. Change 3744282 by Brian.Zaugg Fix for failed engine check caused by GSystemResolution getting out of sync with actual device resolution / orientation. Change 3739717 by Brian.Zaugg Fix renderer compile errors in Mac nonunity build that started with Ocean's last integration from Main. Change 3738008 by Chad.Garyet changing lockfile still waiting warning to a regular log message Change 3729582 by Brian.Zaugg Fix for large Metal texture memory leak when opening card packs. (And any other time the size of the static texture heaps is exceeded.) Don't release a dynamic heap until it is completely drained. Change 3722096 by josh.jensen Prevented an unnecessary red<->blue swap in FVulkanDynamicRHI::RHIReadSurfaceData() when reading back a surface in VK_FORMAT_R16G16B16A16_SFLOAT format Change 3718183 by josh.jensen Fixed ES2 issue reading from a render target in float format for BGRA8888 when the glReadPixels() call fails Change 3690830 by Brian.Zaugg Default r.MetalHullParameterSize and r.MetalDomainParameterSize to 0. Saves 20 MB on iOS. Change 3670184 by Chris.Phillips Added ENGINE_API to UTexture2D::GetMipData(). Function was accessible is single executable stand-alone builds, but not in Editor for use when running PIE. Change 3668970 by josh.jensen Provided an implementation of round() under GLES2 when the shader compiler does not provide it Change 3624855 by josh.jensen Fixed issue where FOpenGLDynamicRHI::RHISetRenderTargetsAndClear() would crash when the render target did not have a color binding This reproduced in a number of circumstances, but it was most common with tonemap postprocessing on Android for a particular title. Change 3693739 by Brian.Zaugg Moved the hull and domain shader parameter size change from BaseDeviceProfiles to DefaultDeviceProfiles. Change 3655434 by James.Brinkerhoff Adding a function to set the delay of a particle system dynamically Change 3605036 by Brian.Zaugg Track opened pak files. Console command "DumpOpenedFiles" print the list. [CL 3764500 by James Brinkerhoff in Main branch]
2017-11-17 16:39:23 -05:00
#if PAK_TRACKER
TMap<FString, int32> FPakPlatformFile::GPakSizeMap;
void FPakPlatformFile::TrackPak(const TCHAR* Filename, const FPakEntry* PakEntry)
{
FString Key(Filename);
if (!GPakSizeMap.Find(Key))
Copying //Ocean/Main to //UE4/Dev-Main (Source: //Ocean/Main @ 3755227) #lockdown Nick.Penwarden #rb none ======================== MAJOR FEATURES + CHANGES ======================== Change 3754304 by Chris.Phillips #ue4: Fix for crash that occurred when seeking past the end of an archive (#jira OCN-8990). Change 3748500 by josh.jensen Fixed the round() function hack shader to determine whether the shader needs mediump or highp The shader fails to compile on some Android devices, because the precision keyword follows the round() definitions. Change 3747950 by Brian.Zaugg Exposed the virtual keyboard dismiss action to UMG. Change 3744282 by Brian.Zaugg Fix for failed engine check caused by GSystemResolution getting out of sync with actual device resolution / orientation. Change 3739717 by Brian.Zaugg Fix renderer compile errors in Mac nonunity build that started with Ocean's last integration from Main. Change 3738008 by Chad.Garyet changing lockfile still waiting warning to a regular log message Change 3729582 by Brian.Zaugg Fix for large Metal texture memory leak when opening card packs. (And any other time the size of the static texture heaps is exceeded.) Don't release a dynamic heap until it is completely drained. Change 3722096 by josh.jensen Prevented an unnecessary red<->blue swap in FVulkanDynamicRHI::RHIReadSurfaceData() when reading back a surface in VK_FORMAT_R16G16B16A16_SFLOAT format Change 3718183 by josh.jensen Fixed ES2 issue reading from a render target in float format for BGRA8888 when the glReadPixels() call fails Change 3690830 by Brian.Zaugg Default r.MetalHullParameterSize and r.MetalDomainParameterSize to 0. Saves 20 MB on iOS. Change 3670184 by Chris.Phillips Added ENGINE_API to UTexture2D::GetMipData(). Function was accessible is single executable stand-alone builds, but not in Editor for use when running PIE. Change 3668970 by josh.jensen Provided an implementation of round() under GLES2 when the shader compiler does not provide it Change 3624855 by josh.jensen Fixed issue where FOpenGLDynamicRHI::RHISetRenderTargetsAndClear() would crash when the render target did not have a color binding This reproduced in a number of circumstances, but it was most common with tonemap postprocessing on Android for a particular title. Change 3693739 by Brian.Zaugg Moved the hull and domain shader parameter size change from BaseDeviceProfiles to DefaultDeviceProfiles. Change 3655434 by James.Brinkerhoff Adding a function to set the delay of a particle system dynamically Change 3605036 by Brian.Zaugg Track opened pak files. Console command "DumpOpenedFiles" print the list. [CL 3764500 by James Brinkerhoff in Main branch]
2017-11-17 16:39:23 -05:00
{
GPakSizeMap.Add(Key, PakEntry->Size);
}
}
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
IAsyncReadFileHandle* FPakPlatformFile::OpenAsyncRead(const TCHAR* Filename)
{
CSV_SCOPED_TIMING_STAT(FileIO, PakOpenAsyncRead);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3386108) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3345860 on 2017/03/14 by Daniel.Lamb Fixed crash when building DLC #test Cook paragon. Change 3347324 on 2017/03/15 by Gil.Gribb UE4 - Removed old code relating to FAsyncArchive, FAsyncIOSubsystemBase and package level compression. The editor now uses the lowest levels on the new async IO scheme. Change 3347331 on 2017/03/15 by Robert.Manuszewski Fix for a crash caused by GC killing BP class (due to no strong references) but its CDO is being kept alive because it was in the same cluster as the class and was not marked as pending kill. #jira UE-42732 Change 3347371 on 2017/03/15 by Graeme.Thornton Fix for runtime asset cache not invalidating files with an outdated version number Change 3349161 on 2017/03/16 by Steve.Robb Generated UFUNCTION FNames no longer exported. Misc refactors of code generation. Change 3349167 on 2017/03/16 by Steve.Robb Unused TBoolConstant removed (the more general TIntegralConstant should be used instead). Change 3349274 on 2017/03/16 by Gil.Gribb UE4 - Fix loading a package that is already loaded. Change 3349534 on 2017/03/16 by Ben.Marsh UBT: Check that the SN-DBS service is running before attempting to use it. Change 3349612 on 2017/03/16 by Gil.Gribb UE4 - Increased estimate of summary size. Change 3350021 on 2017/03/16 by Gil.Gribb UE4 - Fixed crash in signature checks when mounting pak files. Change 3350052 on 2017/03/16 by Ben.Marsh Remove invalid characters from macro names before passing as macro values. Prevents compile errors for projects which have apostrophes in the name. Change 3350360 on 2017/03/16 by Ben.Marsh UAT: Fix non-threadsafe access of ExeToTimeInMs when spawning external processes. Change 3351670 on 2017/03/17 by Ben.Marsh UBT: Ignore all default libraries when creating import libs. Sometimes #pragma comment(lib, ...) directives can add force additional libraries onto the linker/librarian command line. We don't want or need these included when generating import libraries, but they can cause errors due to search paths not being able to find them. Change 3352289 on 2017/03/17 by Ben.Marsh Fix issues working with > 2GB archives caused by truncation of the return value from FArchive::Tell() down to 32-bits. Change 3352390 on 2017/03/17 by Ben.Marsh Remove unused/out of date binaries for CrashReporter. Change 3352392 on 2017/03/17 by Ben.Marsh Remove UnrealDocTool binaries. This is distributed through a Visual Studio plugin now. Change 3352410 on 2017/03/17 by Ben.Marsh Remove P4ChangeReporter. I don't believe this is used any more. Change 3352450 on 2017/03/17 by Ben.Marsh Disable including CrashReporter by default when packaging projects. This is only useful with a CrashReporter backend set up, which only usually applies to Epic internal projects. Change 3352455 on 2017/03/17 by Ben.Marsh Remove RegisterPII and TranslatedWordsCountEstimator executables. Don't believe these are used any more. Change 3352940 on 2017/03/17 by Wes.Hunt Update CRP to not send Slack queue size updates unless the waiting time is greater than 1 minute. #codereview: jin.zhang Change 3353658 on 2017/03/20 by Steve.Robb Fix for crash when importing a BP which has a populated TMap with an enum class key. Change 3354056 on 2017/03/20 by Steve.Robb TAssetPtr<T> can now be constructed from a nullptr without a full definition of T. Change 3356111 on 2017/03/21 by Graeme.Thornton Fix for UE-34131 - Support double and fname stat types in UFE stat export to CSV #jira UE-34131 Change 3358584 on 2017/03/22 by Daniel.Lamb Fixed the garbage collection keep flags when cleaning the sandbox for iterative cooking. #test Cook shootergame Change 3360379 on 2017/03/23 by Gil.Gribb UE4 - Avoid adding a linker annotation if it actually hasn't changed. Improves ConditionalBeginDestroy performance. Change 3360623 on 2017/03/23 by Gil.Gribb UE4 - Change from MarcA to avoid a redudnant removal of PrimitiveComponent from the streaming managers during ConditionalBeginDestroy. Change 3360627 on 2017/03/23 by Gil.Gribb UE4 - Optimized UObject hash tables for speed and space. Change 3361183 on 2017/03/23 by Gil.Gribb UE4 - Fixed change to NotifyPrimitiveDetached so that it works in the editor. Change 3361906 on 2017/03/23 by Steve.Robb Fix for a bad hint index when instantiating map property subobjects when the defaults has fewer but non-zero elements. #jira UE-43272 Change 3362839 on 2017/03/24 by Gil.Gribb UE4 - Fixed hash table lock optimization. Change 3367348 on 2017/03/28 by Robert.Manuszewski Making sure streamed-in SoundWaves get added to GC clusters. Change 3367386 on 2017/03/28 by Ben.Marsh EC: Pass the Semaphores property from a build type as a parameter to new build jobs. Change 3367422 on 2017/03/28 by Ben.Marsh EC: Allow limiting the number of scheduled jobs that will be automatically run at a particular time. Each build type can have a 'Semaphores' property in the branch settings file, which will be copied to newly created jobs. Before scheduling new jobs, EC is queried for the 'Semaphores' property on any running jobs, and build types with existing semaphores will be skipped. Does not prevent jobs from being run manually. Change 3367469 on 2017/03/28 by Ben.Marsh EC: Prevent multiple incremental jobs running at once. Change 3367640 on 2017/03/28 by Ben.Marsh Plugins: Add an optional EngineVersion field back into the plugin descriptor. If set, the engine will warn if the plugin is not compatible with the current engine version. Plugins will set this field by default when packaging; pass -Unversioned to override. Change 3367836 on 2017/03/28 by Uriel.Doyon Improved handled of references in the streaming manager Change 3369354 on 2017/03/29 by Graeme.Thornton Added AES encrypt/decrypt functions that take a byte array for the key Change 3369804 on 2017/03/29 by Ben.Marsh Remove incorrect "EngineVersion" settings from plugin descriptors. Change 3370462 on 2017/03/29 by Ben.Marsh Editor: Install Visual Studio 2017 by default, instead of Visual Studio 2015. Changed to use ExecElevatedProcess() to prevent installer failing to run if the current user is not already an administrator. #jira UE-43467 Change 3371598 on 2017/03/30 by Ben.Marsh UBT: Fix message for missing toolchain in VS2017. Change 3372827 on 2017/03/30 by Ben.Marsh BuildGraph: Output an error at the end of each step if any previous build products have been modified. Change 3372947 on 2017/03/30 by Ben.Marsh [Merge] Always add the host editor platform as supported in an installed build. Not doing so prevents the build platform being registered in UBT, which prevents doing any platform-specific staging operations in UAT. Change 3372958 on 2017/03/30 by Ben.Marsh [Merge] Simplify log output for cooks. Suppress additional timestamps from the editor when running through UAT. Change 3372981 on 2017/03/30 by Ben.Marsh [Merge] Modular game fixes for UAT * Store list of executable names from the receipts instead of generating them from Target/Platform/Config/Architecture combination * Get full list of staged executables from receipts instead of assuming only non-code projects are in Engine * Always pass short project name as Bootstrap argument, so that modular game exe knows which project to start Change 3373024 on 2017/03/30 by Ben.Marsh [Merge] Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep. Change 3373041 on 2017/03/30 by Ben.Marsh [Merge] Added UAT script to replace assets with another source Renamed ReplaceAssetsCommandlet to GenerateAssetsManifest as it now outputs a list of files and has nothing specific about replacing files Change 3373052 on 2017/03/30 by Ben.Marsh [Merge] Changed CopyUsingDistillFileSet command so that it can use a pre-existing manifest file instead of running commandlet Change 3373092 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash attempting to load cooked static mesh in editor Change 3373112 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash caused by loading cooked StaticMesh in editor that didn't have any SourceModels Change 3373132 on 2017/03/30 by Ben.Marsh [Merge] Added Additional Maps that are always cooked to the GenerateDistillFileSetsCommandlet Change 3373138 on 2017/03/30 by Ben.Marsh [Merge] Fixed code issue with playback of cooked SoundCues Skip over code using editor only data when editor data has been stripped Change 3373143 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash when attempting to open multiple cooked assets Change 3373156 on 2017/03/30 by Ben.Marsh [Merge] Added commandlet to replace game assets with those from another source (intended for cooked asset replacement) Change 3373161 on 2017/03/30 by Ben.Marsh [Merge] Prevented crash by not attempting to Load Mips again if a package has cooked data Change 3373168 on 2017/03/30 by Ben.Marsh [Merge] Fix output path for DLC pak file, so it can be discovered by the engine and automatically mounted (and to stop it colliding with the main game pak file). Change 3373204 on 2017/03/30 by Ben.Marsh [Merge] Fix crash when switching levels in PIE, due to bulk data already having been discarded for cooked assets. Cooking sets BULKDATA_SingleUse for textures, but PIEing needs to keep bulk data around. Change 3373209 on 2017/03/30 by Ben.Marsh [Merge] Fix missing material in mod editor for cooked assets. Change 3373388 on 2017/03/30 by Ben.Marsh [Merge] Various improvements to the plugin browser and new plugin wizard from Robo Recall. Change 3374200 on 2017/03/31 by Ben.Marsh [Merge] Latest OdinEditor plugin from //Odin/Main, to fix build failures. Re-made change to OdinUnrealEdEngine to remove dependencies on analytics. Change 3374279 on 2017/03/31 by Ben.Marsh PR #3441: Invalid JSON in FeaturePacks (Contributed by projectgheist) Change 3374331 on 2017/03/31 by Ben.Marsh UBT: Disable warning pragmas on Mono; not supported on current compiler. #jira UE-43451 Change 3375108 on 2017/03/31 by Ben.Marsh Removing another plugin EngineVersion property. Change 3375126 on 2017/03/31 by Ben.Marsh Fix incorrect executable paths being generated for Windows. Change 3375159 on 2017/03/31 by Graeme.Thornton Pak Index Encryption - Added "-encryptindex" option to unrealpak which will encrypt the pak index, making the pak file unreadable without the associated decryption key - Added "-encryptpakindex" option to UAT to force on index encryption - Added "bEncryptPakIndex" setting to project packaging settings so pak encryption can be controlled via the editor Change 3375197 on 2017/03/31 by Graeme.Thornton Enable pak index encryption in shootergame Change 3375377 on 2017/03/31 by Ben.Marsh Add build node to submit updated UnrealPak binaries for Win64, Mac and Linux. Currently has to be run via a custom build on EC, with the target set to "Submit UnrealPak Binaries". Change 3376418 on 2017/04/03 by Ben.Marsh BuildGraph: Always clear the cached node state when running locally without having to manually specify the -ClearHistory argument. The -Resume argument allows the previous behavior of continuing a previous build. Change 3376447 on 2017/04/03 by Ben.Marsh Build: Remove some unused stream settings Change 3376469 on 2017/04/03 by Ben.Marsh Build: Add a customizable field for the script to use for custom builds in every branch. Change 3376654 on 2017/04/03 by Ben.Marsh Add a fatal error message containing the module with an outstanding reference when trying to unload it. #jira UE-42423 Change 3376747 on 2017/04/03 by Gil.Gribb UE4 - Fixed crash relating to FGenericAsyncReadFileHandle when not using the EDL. Change 3377173 on 2017/04/03 by Ben.Marsh Make sure callstacks are written to stdout following a crash on a background thread. Change 3377183 on 2017/04/03 by Ben.Marsh Removing support for building VS2013 targets. Ability to generate VS2013 project files is still allowed, but unsupported (via the -2013unsupported command line argument). Change 3377280 on 2017/04/03 by Ben.Marsh Build: Post UGS badges for all UE4 development streams, with the project set to $(Branch)/... Change 3377311 on 2017/04/03 by Ben.Marsh Build: Set the 'Semaphores' parameter for any jobs started from a schedule. Change 3377326 on 2017/04/03 by Ben.Marsh UGS: Show badges which match an entire subtree if the project field ends with "...". Change 3377392 on 2017/04/03 by Ben.Marsh Add badges to UE4/Main and UE4/Release streams, and change the names of the builds in development streams to distinguish them. Change 3377895 on 2017/04/03 by Ben.Marsh EC: Send notification emails whenever UAT fails to compile. Change 3377923 on 2017/04/03 by Ben.Marsh Build: Use a different semaphore for the common editors build target to the incremental compile build target. Change 3378297 on 2017/04/04 by Graeme.Thornton Fix incorrect generation of UE_ENGINE_DIRECTORY in UBT Change 3378301 on 2017/04/04 by Ben.Marsh UBT: Try enabling bAdaptiveUnityDisablesPCH by default, to reduce the number of build failures we see due to missing includes. Change 3378460 on 2017/04/04 by Graeme.Thornton Remove dependency preloading system from sync and async loading paths Change 3378535 on 2017/04/04 by Robert.Manuszewski Fix for audio crash when launching Ocean PIE after removing the audio chunk allocation in CL #3347324 #jira UE-43544 Change 3378575 on 2017/04/04 by Robert.Manuszewski Making sure actor clusters are not created in non-cooked builds #jira UE-43617 #jira UE-43614 Change 3378589 on 2017/04/04 by Robert.Manuszewski Disabling debug GC cluster logging #jira UE-43617 Change 3379118 on 2017/04/04 by Robert.Manuszewski Disabling actor clustering by default, keeping it on in Orion and Ocean Change 3379815 on 2017/04/04 by Ben.Marsh Revert change to derive executable names from target receipts. While a better solution than making them up, Android relies on having the base executable names for supporting multiple architectures. Change 3380811 on 2017/04/05 by Gil.Gribb UE4 - Put the special boot order things into baseengine.ini so that licensees and games can add to it. Change 3383313 on 2017/04/06 by Uriel.Doyon Integrated CL 3372436 3372765 3373272 from Dev-Rendering #JIRA UE-43669 Change 3383531 on 2017/04/06 by Ben.Marsh UGS: Ignore failures when querying whether paths exist. Permissions can cause this folder to fail, even if it will succeed at a parent directory. Change 3383786 on 2017/04/06 by Ben.Zeigler Back out changelist 3382694 and replace with CL #3383757 from bob.tellez: Fix memory stomping issue caused by removing a FFortProfileSynchronizeRequest from SynchronizeRequests in UFortRegisteredPlayerInfo::UpdateSynchronizeRequest before SynchronizeProfile had finished executing Change 3385089 on 2017/04/07 by Gil.Gribb UE4 - Critical. Fixed memory leak in pak precacher. [CL 3386123 by Ben Marsh in Main branch]
2017-04-10 11:00:33 -04:00
check(GConfig);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
#if USE_PAK_PRECACHE
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (FPlatformProcess::SupportsMultithreading() && GPakCache_Enable > 0)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
FPakEntry FileEntry;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
FPakFile* PakFile = NULL;
bool bFoundEntry = FindFileInPakFiles(Filename, &PakFile, &FileEntry);
if (bFoundEntry && PakFile && PakFile->GetFilenameName() != NAME_None)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
{
Copying //Ocean/Main to //UE4/Dev-Main (Source: //Ocean/Main @ 3755227) #lockdown Nick.Penwarden #rb none ======================== MAJOR FEATURES + CHANGES ======================== Change 3754304 by Chris.Phillips #ue4: Fix for crash that occurred when seeking past the end of an archive (#jira OCN-8990). Change 3748500 by josh.jensen Fixed the round() function hack shader to determine whether the shader needs mediump or highp The shader fails to compile on some Android devices, because the precision keyword follows the round() definitions. Change 3747950 by Brian.Zaugg Exposed the virtual keyboard dismiss action to UMG. Change 3744282 by Brian.Zaugg Fix for failed engine check caused by GSystemResolution getting out of sync with actual device resolution / orientation. Change 3739717 by Brian.Zaugg Fix renderer compile errors in Mac nonunity build that started with Ocean's last integration from Main. Change 3738008 by Chad.Garyet changing lockfile still waiting warning to a regular log message Change 3729582 by Brian.Zaugg Fix for large Metal texture memory leak when opening card packs. (And any other time the size of the static texture heaps is exceeded.) Don't release a dynamic heap until it is completely drained. Change 3722096 by josh.jensen Prevented an unnecessary red<->blue swap in FVulkanDynamicRHI::RHIReadSurfaceData() when reading back a surface in VK_FORMAT_R16G16B16A16_SFLOAT format Change 3718183 by josh.jensen Fixed ES2 issue reading from a render target in float format for BGRA8888 when the glReadPixels() call fails Change 3690830 by Brian.Zaugg Default r.MetalHullParameterSize and r.MetalDomainParameterSize to 0. Saves 20 MB on iOS. Change 3670184 by Chris.Phillips Added ENGINE_API to UTexture2D::GetMipData(). Function was accessible is single executable stand-alone builds, but not in Editor for use when running PIE. Change 3668970 by josh.jensen Provided an implementation of round() under GLES2 when the shader compiler does not provide it Change 3624855 by josh.jensen Fixed issue where FOpenGLDynamicRHI::RHISetRenderTargetsAndClear() would crash when the render target did not have a color binding This reproduced in a number of circumstances, but it was most common with tonemap postprocessing on Android for a particular title. Change 3693739 by Brian.Zaugg Moved the hull and domain shader parameter size change from BaseDeviceProfiles to DefaultDeviceProfiles. Change 3655434 by James.Brinkerhoff Adding a function to set the delay of a particle system dynamically Change 3605036 by Brian.Zaugg Track opened pak files. Console command "DumpOpenedFiles" print the list. [CL 3764500 by James Brinkerhoff in Main branch]
2017-11-17 16:39:23 -05:00
#if PAK_TRACKER
TrackPak(Filename, &FileEntry);
Copying //Ocean/Main to //UE4/Dev-Main (Source: //Ocean/Main @ 3755227) #lockdown Nick.Penwarden #rb none ======================== MAJOR FEATURES + CHANGES ======================== Change 3754304 by Chris.Phillips #ue4: Fix for crash that occurred when seeking past the end of an archive (#jira OCN-8990). Change 3748500 by josh.jensen Fixed the round() function hack shader to determine whether the shader needs mediump or highp The shader fails to compile on some Android devices, because the precision keyword follows the round() definitions. Change 3747950 by Brian.Zaugg Exposed the virtual keyboard dismiss action to UMG. Change 3744282 by Brian.Zaugg Fix for failed engine check caused by GSystemResolution getting out of sync with actual device resolution / orientation. Change 3739717 by Brian.Zaugg Fix renderer compile errors in Mac nonunity build that started with Ocean's last integration from Main. Change 3738008 by Chad.Garyet changing lockfile still waiting warning to a regular log message Change 3729582 by Brian.Zaugg Fix for large Metal texture memory leak when opening card packs. (And any other time the size of the static texture heaps is exceeded.) Don't release a dynamic heap until it is completely drained. Change 3722096 by josh.jensen Prevented an unnecessary red<->blue swap in FVulkanDynamicRHI::RHIReadSurfaceData() when reading back a surface in VK_FORMAT_R16G16B16A16_SFLOAT format Change 3718183 by josh.jensen Fixed ES2 issue reading from a render target in float format for BGRA8888 when the glReadPixels() call fails Change 3690830 by Brian.Zaugg Default r.MetalHullParameterSize and r.MetalDomainParameterSize to 0. Saves 20 MB on iOS. Change 3670184 by Chris.Phillips Added ENGINE_API to UTexture2D::GetMipData(). Function was accessible is single executable stand-alone builds, but not in Editor for use when running PIE. Change 3668970 by josh.jensen Provided an implementation of round() under GLES2 when the shader compiler does not provide it Change 3624855 by josh.jensen Fixed issue where FOpenGLDynamicRHI::RHISetRenderTargetsAndClear() would crash when the render target did not have a color binding This reproduced in a number of circumstances, but it was most common with tonemap postprocessing on Android for a particular title. Change 3693739 by Brian.Zaugg Moved the hull and domain shader parameter size change from BaseDeviceProfiles to DefaultDeviceProfiles. Change 3655434 by James.Brinkerhoff Adding a function to set the delay of a particle system dynamically Change 3605036 by Brian.Zaugg Track opened pak files. Console command "DumpOpenedFiles" print the list. [CL 3764500 by James Brinkerhoff in Main branch]
2017-11-17 16:39:23 -05:00
#endif
return new FPakAsyncReadFileHandle(&FileEntry, PakFile, Filename);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
}
}
#endif
return IPlatformFile::OpenAsyncRead(Filename);
}
void FPakPlatformFile::SetAsyncMinimumPriority(EAsyncIOPriorityAndFlags Priority)
{
#if USE_PAK_PRECACHE
if (FPlatformProcess::SupportsMultithreading() && GPakCache_Enable > 0)
{
FPakPrecacher::Get().SetAsyncMinimumPriority(Priority);
}
#endif
}
void FPakPlatformFile::Tick()
{
#if USE_PAK_PRECACHE && CSV_PROFILER
if (PakPrecacherSingleton != nullptr)
{
CSV_CUSTOM_STAT(FileIO, PakPrecacherRequests, FPakPrecacher::Get().GetRequestCount(), ECsvCustomStatOp::Set);
}
#endif
}
class FMappedFilePakProxy final : public IMappedFileHandle
{
IMappedFileHandle* LowerLevel;
int64 OffsetInPak;
int64 PakSize;
FString DebugFilename;
public:
FMappedFilePakProxy(IMappedFileHandle* InLowerLevel, int64 InOffset, int64 InSize, int64 InPakSize, const TCHAR* InDebugFilename)
: IMappedFileHandle(InSize)
, LowerLevel(InLowerLevel)
, OffsetInPak(InOffset)
, PakSize(InPakSize)
, DebugFilename(InDebugFilename)
{
check(PakSize >= 0);
}
virtual ~FMappedFilePakProxy()
{
// we don't own lower level, it is shared
}
virtual IMappedFileRegion* MapRegion(int64 Offset = 0, int64 BytesToMap = MAX_int64, bool bPreloadHint = false) override
{
check(Offset + OffsetInPak < PakSize); // don't map zero bytes and don't map off the end of the (real) file
check(Offset < GetFileSize()); // don't map zero bytes and don't map off the end of the (virtual) file
BytesToMap = FMath::Min<int64>(BytesToMap, GetFileSize() - Offset);
check(BytesToMap > 0); // don't map zero bytes
check(Offset + BytesToMap <= GetFileSize()); // don't map zero bytes and don't map off the end of the (virtual) file
check(Offset + OffsetInPak + BytesToMap <= PakSize); // don't map zero bytes and don't map off the end of the (real) file
return LowerLevel->MapRegion(Offset + OffsetInPak, BytesToMap, bPreloadHint);
}
};
#if !UE_BUILD_SHIPPING
static void MappedFileTest(const TArray<FString>& Args)
{
FString TestFile(TEXT("../../../Engine/Config/BaseDeviceProfiles.ini"));
if (Args.Num() > 0)
{
TestFile = Args[0];
}
while (true)
{
IMappedFileHandle* Handle = FPlatformFileManager::Get().GetPlatformFile().OpenMapped(*TestFile);
IMappedFileRegion *Region = Handle->MapRegion();
int64 Size = Region->GetMappedSize();
const char* Data = (const char *)Region->GetMappedPtr();
delete Region;
delete Handle;
}
}
static FAutoConsoleCommand MappedFileTestCmd(
TEXT("MappedFileTest"),
TEXT("Tests the file mappings through the low level."),
FConsoleCommandWithArgsDelegate::CreateStatic(&MappedFileTest)
);
#endif
IMappedFileHandle* FPakPlatformFile::OpenMapped(const TCHAR* Filename)
{
// Check pak files first
FPakEntry FileEntry;
FPakFile* PakEntry = nullptr;
if (FindFileInPakFiles(Filename, &PakEntry, &FileEntry) && PakEntry)
{
if (FileEntry.CompressionMethodIndex != 0)
{
// can't map compressed files
return nullptr;
}
FScopeLock Lock(&PakEntry->MappedFileHandleCriticalSection);
if (!PakEntry->MappedFileHandle)
{
PakEntry->MappedFileHandle = LowerLevel->OpenMapped(*PakEntry->GetFilename());
}
if (!PakEntry->MappedFileHandle)
{
return nullptr;
}
return new FMappedFilePakProxy(PakEntry->MappedFileHandle, FileEntry.Offset + FileEntry.GetSerializedSize(PakEntry->GetInfo().Version), FileEntry.UncompressedSize, PakEntry->TotalSize(), Filename);
}
if (IsNonPakFilenameAllowed(Filename))
{
return LowerLevel->OpenMapped(Filename);
}
return nullptr;
}
/**
* Class to handle correctly reading from a compressed file within a compressed package
*/
class FPakSimpleEncryption
{
public:
enum
{
Alignment = FAES::AESBlockSize,
};
static FORCEINLINE int64 AlignReadRequest(int64 Size)
{
return Align(Size, Alignment);
}
static FORCEINLINE void DecryptBlock(void* Data, int64 Size, const FGuid& EncryptionKeyGuid)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
INC_DWORD_STAT(STAT_PakCache_SyncDecrypts);
DecryptData((uint8*)Data, Size, EncryptionKeyGuid);
}
};
/**
* Thread local class to manage working buffers for file compression
*/
class FCompressionScratchBuffers : public TThreadSingleton<FCompressionScratchBuffers>
{
public:
FCompressionScratchBuffers()
: TempBufferSize(0)
, ScratchBufferSize(0)
{}
int64 TempBufferSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TUniquePtr<uint8[]> TempBuffer;
int64 ScratchBufferSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TUniquePtr<uint8[]> ScratchBuffer;
void EnsureBufferSpace(int64 CompressionBlockSize, int64 ScrachSize)
{
if (TempBufferSize < CompressionBlockSize)
{
TempBufferSize = CompressionBlockSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TempBuffer = MakeUnique<uint8[]>(TempBufferSize);
}
if (ScratchBufferSize < ScrachSize)
{
ScratchBufferSize = ScrachSize;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
ScratchBuffer = MakeUnique<uint8[]>(ScratchBufferSize);
}
}
};
/**
* Class to handle correctly reading from a compressed file within a pak
*/
template< typename EncryptionPolicy = FPakNoEncryption >
class FPakCompressedReaderPolicy
{
public:
class FPakUncompressTask : public FNonAbandonableTask
{
public:
uint8* UncompressedBuffer;
int32 UncompressedSize;
uint8* CompressedBuffer;
int32 CompressedSize;
FName CompressionFormat;
void* CopyOut;
int64 CopyOffset;
int64 CopyLength;
FGuid EncryptionKeyGuid;
void DoWork()
{
// Decrypt and Uncompress from memory to memory.
int64 EncryptionSize = EncryptionPolicy::AlignReadRequest(CompressedSize);
EncryptionPolicy::DecryptBlock(CompressedBuffer, EncryptionSize, EncryptionKeyGuid);
FCompression::UncompressMemory(CompressionFormat, UncompressedBuffer, UncompressedSize, CompressedBuffer, CompressedSize);
if (CopyOut)
{
FMemory::Memcpy(CopyOut, UncompressedBuffer + CopyOffset, CopyLength);
}
}
FORCEINLINE TStatId GetStatId() const
{
// TODO: This is called too early in engine startup.
return TStatId();
//RETURN_QUICK_DECLARE_CYCLE_STAT(FPakUncompressTask, STATGROUP_ThreadPoolAsyncTasks);
}
};
FPakCompressedReaderPolicy(const FPakFile& InPakFile, const FPakEntry& InPakEntry, TAcquirePakReaderFunction& InAcquirePakReader)
: PakFile(InPakFile)
, PakEntry(InPakEntry)
, AcquirePakReader(InAcquirePakReader)
{
}
/** Pak file that own this file data */
const FPakFile& PakFile;
/** Pak file entry for this file. */
FPakEntry PakEntry;
/** Function that gives us an FArchive to read from. The result should never be cached, but acquired and used within the function doing the serialization operation */
TAcquirePakReaderFunction AcquirePakReader;
FORCEINLINE int64 FileSize() const
{
return PakEntry.UncompressedSize;
}
void Serialize(int64 DesiredPosition, void* V, int64 Length)
{
const int32 CompressionBlockSize = PakEntry.CompressionBlockSize;
uint32 CompressionBlockIndex = DesiredPosition / CompressionBlockSize;
uint8* WorkingBuffers[2];
int64 DirectCopyStart = DesiredPosition % PakEntry.CompressionBlockSize;
FAsyncTask<FPakUncompressTask> UncompressTask;
FCompressionScratchBuffers& ScratchSpace = FCompressionScratchBuffers::Get();
bool bStartedUncompress = false;
FName CompressionMethod = PakFile.GetInfo().GetCompressionMethod(PakEntry.CompressionMethodIndex);
checkf(FCompression::IsFormatValid(CompressionMethod),
TEXT("Attempting to use compression format %s when loading a file from a .pak, but that compression format is not available.\n")
TEXT("If you are running a program (like UnrealPak) you may need to pass the .uproject on the commandline so the plugin can be found.\n"),
TEXT("It's also possible that a necessary compression plugin has not been loaded yet, and this file needs to be forced to use zlib compression.\n")
TEXT("Unfortunately, the code that can check this does not have the context of the filename that is being read. You will need to look in the callstack in a debugger.\n")
TEXT("See ExtensionsToNotUsePluginCompression in [Pak] section of Engine.ini to add more extensions."),
*CompressionMethod.ToString(), TEXT("Unknown"));
// an amount to extra allocate, in case one block's compressed size is bigger than CompressMemoryBound
float SlopMultiplier = 1.1f;
int64 WorkingBufferRequiredSize = FCompression::CompressMemoryBound(CompressionMethod, CompressionBlockSize) * SlopMultiplier;
WorkingBufferRequiredSize = EncryptionPolicy::AlignReadRequest(WorkingBufferRequiredSize);
ScratchSpace.EnsureBufferSpace(CompressionBlockSize, WorkingBufferRequiredSize * 2);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
WorkingBuffers[0] = ScratchSpace.ScratchBuffer.Get();
WorkingBuffers[1] = ScratchSpace.ScratchBuffer.Get() + WorkingBufferRequiredSize;
FArchive* PakReader = AcquirePakReader();
while (Length > 0)
{
const FPakCompressedBlock& Block = PakEntry.CompressionBlocks[CompressionBlockIndex];
int64 Pos = CompressionBlockIndex * CompressionBlockSize;
int64 CompressedBlockSize = Block.CompressedEnd - Block.CompressedStart;
int64 UncompressedBlockSize = FMath::Min<int64>(PakEntry.UncompressedSize - Pos, PakEntry.CompressionBlockSize);
if (CompressedBlockSize > UncompressedBlockSize)
{
UE_LOG(LogPakFile, Display, TEXT("Bigger compressed? Block[%d]: %d -> %d > %d [%d min %d]"), CompressionBlockIndex, Block.CompressedStart, Block.CompressedEnd, UncompressedBlockSize, PakEntry.UncompressedSize - Pos, PakEntry.CompressionBlockSize);
}
int64 ReadSize = EncryptionPolicy::AlignReadRequest(CompressedBlockSize);
int64 WriteSize = FMath::Min<int64>(UncompressedBlockSize - DirectCopyStart, Length);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
PakReader->Seek(Block.CompressedStart + (PakFile.GetInfo().HasRelativeCompressedChunkOffsets() ? PakEntry.Offset : 0));
PakReader->Serialize(WorkingBuffers[CompressionBlockIndex & 1], ReadSize);
if (bStartedUncompress)
{
UncompressTask.EnsureCompletion();
bStartedUncompress = false;
}
FPakUncompressTask& TaskDetails = UncompressTask.GetTask();
TaskDetails.EncryptionKeyGuid = PakFile.GetInfo().EncryptionKeyGuid;
if (DirectCopyStart == 0 && Length >= CompressionBlockSize)
{
// Block can be decompressed directly into output buffer
TaskDetails.CompressionFormat = CompressionMethod;
TaskDetails.UncompressedBuffer = (uint8*)V;
TaskDetails.UncompressedSize = UncompressedBlockSize;
TaskDetails.CompressedBuffer = WorkingBuffers[CompressionBlockIndex & 1];
TaskDetails.CompressedSize = CompressedBlockSize;
TaskDetails.CopyOut = nullptr;
}
else
{
// Block needs to be copied from a working buffer
TaskDetails.CompressionFormat = CompressionMethod;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TaskDetails.UncompressedBuffer = ScratchSpace.TempBuffer.Get();
TaskDetails.UncompressedSize = UncompressedBlockSize;
TaskDetails.CompressedBuffer = WorkingBuffers[CompressionBlockIndex & 1];
TaskDetails.CompressedSize = CompressedBlockSize;
TaskDetails.CopyOut = V;
TaskDetails.CopyOffset = DirectCopyStart;
TaskDetails.CopyLength = WriteSize;
}
if (Length == WriteSize)
{
UncompressTask.StartSynchronousTask();
}
else
{
UncompressTask.StartBackgroundTask();
}
bStartedUncompress = true;
V = (void*)((uint8*)V + WriteSize);
Length -= WriteSize;
DirectCopyStart = 0;
++CompressionBlockIndex;
}
if (bStartedUncompress)
{
UncompressTask.EnsureCompletion();
}
}
};
bool FPakEntry::VerifyPakEntriesMatch(const FPakEntry& FileEntryA, const FPakEntry& FileEntryB)
{
bool bResult = true;
if (FileEntryA.Size != FileEntryB.Size)
{
UE_LOG(LogPakFile, Error, TEXT("Pak header file size mismatch, got: %lld, expected: %lld"), FileEntryB.Size, FileEntryA.Size);
bResult = false;
}
if (FileEntryA.UncompressedSize != FileEntryB.UncompressedSize)
{
UE_LOG(LogPakFile, Error, TEXT("Pak header uncompressed file size mismatch, got: %lld, expected: %lld"), FileEntryB.UncompressedSize, FileEntryA.UncompressedSize);
bResult = false;
}
if (FileEntryA.CompressionMethodIndex != FileEntryB.CompressionMethodIndex)
{
UE_LOG(LogPakFile, Error, TEXT("Pak header file compression method mismatch, got: %d, expected: %d"), FileEntryB.CompressionMethodIndex, FileEntryA.CompressionMethodIndex);
bResult = false;
}
if (FMemory::Memcmp(FileEntryA.Hash, FileEntryB.Hash, sizeof(FileEntryA.Hash)) != 0)
{
UE_LOG(LogPakFile, Error, TEXT("Pak file hash does not match its index entry"));
bResult = false;
}
return bResult;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool FPakPlatformFile::IsNonPakFilenameAllowed(const FString& InFilename)
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
bool bAllowed = true;
#if EXCLUDE_NONPAK_UE_EXTENSIONS
if (PakFiles.Num() || UE_BUILD_SHIPPING)
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
{
FName Ext = FName(*FPaths::GetExtension(InFilename));
bAllowed = !ExcludedNonPakExtensions.Contains(Ext);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#endif
#if DISABLE_NONUFS_INI_WHEN_COOKED
if (FPlatformProperties::RequiresCookedData() && InFilename.EndsWith(IniFileExtension) && !InFilename.EndsWith(GameUserSettingsIniFilename))
{
bAllowed = false;
}
#endif
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 2949393) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2949393 on 2016/04/20 by Graeme.Thornton Orion non-pak file security. - Removed security bypass code from platform pak file - Added a delegate to pak file code which allows the game to decide whether a file should be allowed or not - Added an orion delegate which whitelists appropriate files #rb robert.manuszewski #tests win64 client + dedicated server. golden path. Change 2949232 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: michael.noland Paragon: Added a distinct menu frame rate limit, currently set to 60 fps and not visible in settings (if the user sets a game frame rate limit of below 60, we also clamp the menu limit to that threshold, so they can go down but not up for menus) #jira OR-18017 #rb marcus.wassmer #tests Ran paragon and switched between gameplay, menus, and replays, observing t.MaxFPS at different points #ROBOMERGE-SOURCE: CL 2949231 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2949032 on 2016/04/19 by Zak.Middleton #orion - Lower default NetUpdateFrequency for minions (10->6). Avoid excessive latency for some knockback/knockup abilities that would have noticeable lag by forcing an update sooner when they are triggered. This should have the following effects: 1. Reduce server CPU cost (we tick minions at the net frequency). 2. Reduce server bandwidth 3. Reduce client CPU cost (we move character capsules and perform overlaps when new positions are received). #rb Bart.Bressler, John.Pollard #codereview Dmitry.Rekman #tests MultiPIE AI lane, Replays Change 2948966 on 2016/04/19 by Lina.Halper Added log (check) of the asset info for Anim Per Track contains invalid format key #rb: Michael.Noland #code review: Martin.Wilson, Laurent.Delayen, Michael.Noland #tests: editor/ cooked and test with AI_Tests with 10 bots. Change 2948876 on 2016/04/19 by Michael.Noland PS4: Validate that the texture pool size is not set to automatic (-1, which will crash later on as an attempt to allocate too much memory) #rb none #codereview marcus.wassmer #tests Ran Paragon on PS4 Change 2948765 on 2016/04/19 by Daniel.Lamb Removed AssetImportData tag from cooked asset registry builds. #rb Andrew.Grant #test Cook orion Change 2948691 on 2016/04/19 by Marcus.Wassmer Fix copytoresolvetarget ensure #rb none #test pc agora Change 2948633 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt [AUTOMERGE] Fix copytoresolve crash and change validation to ensure. #test PC editor / PC golden path #rb none -------- Integrated using branch //Orion/Main_to_//Orion/Release-Next (reversed) of change#2948169 by Marcus.Wassmer on 2016/04/19 10:50:32. #ROBOMERGE-SOURCE: CL 2948632 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948507 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: andrew.grant Merging 2937781 (Pak signing) using //Orion/Dev-General_to_Release #rb none #tests cooked client, checked game runs #ROBOMERGE-SOURCE: CL 2948497 in //Orion/Release-0.24.1/... via CL 2948506 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948431 on 2016/04/19 by Steve.Robb CL#s 2919775 and 2942793 integrated to prevent annotation map performance problems on shutdown and asserts in PIE. #codereview robert.manuszewski,bob.tellez #rb bob.tellez #tests Ran editor Change 2948408 on 2016/04/19 by Leslie.Nivison Adding .tps #rb none #test none Change 2948185 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: chris.bunner Fix for HLOD visibility freeze. #tests Golden Path, Editor #rb rolando.caloca, michael.noland #lockdown andrew.grant #jira OR-19863 #ROBOMERGE-SOURCE: CL 2948182 in //Orion/Release-0.24.1/... via CL 2948183 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948149 on 2016/04/19 by Simon.Tovey Fixed crash. Collision rendering path was not dealing with mesh batch with 0 triangles where other paths do. #rb none #tests No more crash #codereview Marcus.Wassmer Change 2948129 on 2016/04/19 by Lukasz.Furman fixed gameplay debugger getting stuck with outdated data pack on client, changed names of AI related debug cvars #rb none #tests game, PIE #codereview Mieszko.Zielinski Change 2948027 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: graeme.thornton Fix for OR-20033 - CRASH: Client will crash with FRCPassPostProcessCircleDOFSetup #rb none #tests checked game runs without crashing #ROBOMERGE-SOURCE: CL 2948017 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2947558 on 2016/04/18 by Matt.Kuhlenschmidt Fix compile error #rb none, #tests none Change 2947509 on 2016/04/18 by Matt.Kuhlenschmidt Added more logging to track down https://jira.ol.epicgames.net/browse/OR-19841 #rb none, #tests none Change 2947412 on 2016/04/18 by Ryan.Gerleve Fix shadowed variable. #rb none #tests none Change 2947377 on 2016/04/18 by Jamie.Dale Gather paths are now sorted by fuzzy-ness, so that more specific includes beat less specific excludes #rb Matt.Kuhlenschmidt #tests Built for Windows. Ran a gather, and confirmed that explicitly included heroes were now gathered, and that generically excluded heroes were absent from the gather. Change 2947351 on 2016/04/18 by Ryan.Gerleve Allow overriding the demo.AsyncLoadWorld setting with a URL option when playing a replay. Store the entire URL in the demo net driver instead of just the map name, so that the options can be accessed later. #tests golden path, replays #rb john.pollard Change 2947103 on 2016/04/18 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 24.1 @ CL 2947071 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2947102 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2947007 on 2016/04/18 by Zak.Middleton #ue4 - Improve linear smoothing in the presence of low net frequency updates. #rb Bart.Bressler #tests MultiPIE AI with lanes Change 2946994 on 2016/04/18 by Mieszko.Zielinski Improvements to NavigationSystem's "abstract navigation data" support #UE4 #rb Lukasz.Furman #test golden path Change 2946760 on 2016/04/18 by Chris.Bunner Fixing up bad merge, recommit of CL 2819472 - ForceLOD now clamps to available LODs on primitive, i.e. use MinLOD rather than not drawing at all. #tests Editor #rb None Change 2946745 on 2016/04/18 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 24.1 @ CL 2946637 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2946656 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2946645 on 2016/04/18 by Richard.Fawcett When promoting a buidl to staged, prevent enumeration of files already in S3 Enumerating files in S3 is a slow process, and it turns out that simply uploading all chunks blindly is more efficient than enumerating existing chunks and selectively uploading only the new ones. #rb Leigh.Swift #tests This technique has already been used in launcher promotions for several months Change 2946622 on 2016/04/18 by Richard.Fawcett By default, when enumerating chunks from a manifest file, skip checking they exist on disk at enumeration time. This will fail anyway further down the line if the files don't exist, but will improve speed of stage promotions by around five minutes. In practice, we have NEVER seen a job fail at this point because of the existence check. #rb Leigh.Swift #tests Ensure that output of ExtractDataFilenamesFromManifest method is identical both with and without bSkipExistsCheck specified. Change 2945812 on 2016/04/15 by Daniel.Lamb Fixed error in diff cooked build commandlet. #rb ben.marsh #test Compile. Change 2945110 on 2016/04/15 by Matt.Kuhlenschmidt Fix crash exporting actors with non-scene components to fbx #rb none, #tests full scene exporting on maps that crashed #codereview alexis.matte Change 2945078 on 2016/04/15 by Simon.Tovey Fix for OR-19778 When some pooled systems are reused, on init they have a non zero lod level but the emitter instances are created at LOD 0 initially. So the component did not think it had to update it's LOD but the emitters were not at the correct LOD. Have forced a LOD set on init when the component LOD is non-zero. #rb none #tests Works in editor and game. #codereview Olaf.Piesche Change 2944664 on 2016/04/14 by Uriel.Doyon Fix to SM4 compilation issue #jira OR-19706 #rb marcus.wassmer #tests tested editor in SM4 and SM5 Change 2944642 on 2016/04/14 by Lukasz.Furman changed waypoint switch conditions in meta nav paths #rb none #tests PIE #codereview Mieszko.Zielinski Change 2944599 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: andrew.grant Added sha1 to UnrealPak list output #rb none #tests listed content of pakfile #ROBOMERGE-SOURCE: CL 2944595 in //Orion/Release-0.24/... via CL 2944597 via CL 2944598 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2944441 on 2016/04/14 by Marcus.Wassmer Duplicate change to output shader compiler errors. #rb none #test run PC and see errors. Change 2944437 on 2016/04/14 by John.Pollard Possible fix for https://jira.ol.epicgames.net/browse/OR-19614 #rb JoshM #codereview Josh.Markiewicz #tests Golden path matchmaking Change 2944430 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: michael.noland Engine: Added support for more/fewer settings in individual categories to the editor scalability control widget #rb david.ratti #tests Tested in the editor #ROBOMERGE-SOURCE: CL 2944428 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2944198 on 2016/04/14 by David.Ratti Paragon - register for slow/stun/root/silence callbacks on any tag count change, not just add/remove. This is so the UI will update if you get another stack of a stackable slow GE. Ability system - unify client stack count change code path with server. Client now properly update owner ASC's tag map and broadcasts all delegates there. #rb dayY #tests pie Change 2944124 on 2016/04/14 by Wes.Hunt Change the TPS redirects for DX modules to point to the proper DX redist TPS which is what packaged games will need. #codereview:leslie.nivison #rb none #tests ran UAT ListThirdPartySoftware <for Orion> Change 2944107 on 2016/04/14 by Wes.Hunt MeshUtilities now depends on new module nvTessLib to better track the third party dependency. #codereview:daniel.wright #rb none #tests build OrionClient/Editor for Win64 Change 2944102 on 2016/04/14 by Wes.Hunt Tweak to UBT -ListBuildFolders to do a distinct in a better place to cut down on duplicate module searches. #tests ran the UBT command #rb none Change 2943851 on 2016/04/14 by Ryan.Gerleve Fix the ForEachNetDriver helper function to get the world context directly off the world instead of going through the game instance. Ensures the correct net drivers will be used when there are multiple worlds but only one game instance. #rb john.pollard #tests golden path, replays, PIE Change 2943847 on 2016/04/14 by Ryan.Gerleve Fixes to support client replay recording & playback in another world: When recording a replay, only swap actor roles if the remote role is ROLE_Authority When loading a replay checkpoint, call NetworkRemapPath to make sure paths have the correct name in the GuidCache #rb john.pollard #tests golden path, replays, PIE Change 2943691 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_24 - Fix for OR-19609, OR-19610, and OR-19611 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2943687 in //Orion/Release-0.24/... via CL 2943688 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2943508 on 2016/04/14 by Richard.Fawcett Automation: Add support for multipart file uploads to Amazon S3 to increase speed of large file uploads. #jira OPPBUILD-44 #rb Leigh.Swift #tests Uploaded files to S3 using the new routines, downlaoded via AWS management console and ensured downloaded files identical to uploaded ones Change 2943274 on 2016/04/13 by jason.bestimt #ORION_MAIN - Merge 24 @ CL 2943257 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2943271 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: david.nikdel, jason.bestimt Change 2943178 on 2016/04/13 by Olaf.Piesche Bumping size of the particle curve texture to 512x512 #rb martin.mittring #tests PC Editor, Game Change 2943174 on 2016/04/13 by Aaron.McLeran OR-19392 Ensure condition failed: (*RequiresInitialization == 0) on loading into PVP match - Removing ensure since there is a rare edge case where it's possible for a sound looping node may get ResetChildren called twice. - Condition is when a child random node o fa looping node has a blank entry and results in no sound chosen in a given frame (which results in ResetChildren getting called). Later in the frame, if a sound had previously been playing with an active sound, it will have stop called on it, which will call NotifyWaveInstanceFinished and hit the ensure. Simply using the branch to check if the looping node has been initialized will work fine in this and other cases. #codereview Bob.Tellez #rb Bob.Tellez #tests ran orion with this change testing problematic sound cue Change 2943042 on 2016/04/13 by Rob.Cannaday Fix crash in HTTP completion delegates on shutdown Stop ticking HTTP retry manager after FOnlineSubsystemImpl::Shutdown has been called #rb josh.markiewicz #tests shutting down multiple times Change 2942913 on 2016/04/13 by Lukasz.Furman added meta navmesh paths #orion #rb Mieszko.Zielinski #tests PIE Change 2942132 on 2016/04/13 by Wes.Hunt Enable UBT -ListBuildFolders to operate on Mac and iOS platforms without having to fully set up the remote environment. #codereview:leslie.nivison #rb peter.sauerbrei #tests running UBT with and without -listbuildfolders Change 2941651 on 2016/04/12 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 2941645 #RB:none #Tests:none Change 2941539 on 2016/04/12 by Laurent.Delayen FABRIK: Normalize outgoing rotations. Fixes Chains Q ability crashing. #rb none #tests Chains not crashing Change 2941469 on 2016/04/12 by Wes.Hunt Fix UBT -ListBuildFolders to not prep target for deployment. #codereview:leslie.nivison #rb none #tests tested -ListBuildFolders for Android Change 2941434 on 2016/04/12 by Leslie.Nivison Adding/cleaning up .tps files #rb none #test none Change 2941241 on 2016/04/12 by Daniel.Lamb Removed shadername from the shader code to fix deterministic material cooking issue. #jira UE-29320 #codereview Marcus.Wassmer #rb Marcus.Wassmer #test Running editor, cooking orion. Change 2941046 on 2016/04/12 by Laurent.Delayen Added safety net for non state AnimNotifies having a non-zero EndTriggerTimeOffset. Fixes Twinblast double shot for the left primary attack. #rb benn.gallagher #codereview lina.halper, ray.arnett, aaron.eady #tests twinblast's LMB Change 2941032 on 2016/04/12 by Jason.Bestimt #ORION_24 - Merge MAIN @ CL 2940950 #RB:none #Tests:none [CL 2952833 by Andrew Grant in Main branch]
2016-04-22 11:21:10 -04:00
FFilenameSecurityDelegate& FilenameSecurityDelegate = GetFilenameSecurityDelegate();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (bAllowed)
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
if (FilenameSecurityDelegate.IsBound())
{
bAllowed = FilenameSecurityDelegate.Execute(*InFilename);;
}
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
return bAllowed;
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if IS_PROGRAM
FPakFile::FPakFile(const TCHAR* Filename, bool bIsSigned)
: PakFilename(Filename)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, PakFilenameName(Filename)
, FilenameHashesIndex(nullptr)
, FilenameHashesIndices(nullptr)
, FilenameHashes(nullptr)
, MiniPakEntriesOffsets(nullptr)
, MiniPakEntries(nullptr)
, NumEntries(0)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, CachedTotalSize(0)
, bSigned(bIsSigned)
, bIsValid(false)
, bFilenamesRemoved(false)
, ChunkID(ParseChunkIDFromFilename(Filename))
, MappedFileHandle(nullptr)
{
FArchive* Reader = GetSharedReader(NULL);
if (Reader)
{
Timestamp = IFileManager::Get().GetTimeStamp(Filename);
Initialize(Reader);
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#endif
FPakFile::FPakFile(IPlatformFile* LowerLevel, const TCHAR* Filename, bool bIsSigned)
: PakFilename(Filename)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, PakFilenameName(Filename)
, FilenameHashesIndex(nullptr)
, FilenameHashesIndices(nullptr)
, FilenameHashes(nullptr)
, MiniPakEntriesOffsets(nullptr)
, MiniPakEntries(nullptr)
, NumEntries(0)
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
, CachedTotalSize(0)
, bSigned(bIsSigned)
, bIsValid(false)
, bFilenamesRemoved(false)
, ChunkID(ParseChunkIDFromFilename(Filename))
, MappedFileHandle(nullptr)
{
FArchive* Reader = GetSharedReader(LowerLevel);
if (Reader)
{
Timestamp = LowerLevel->GetTimeStamp(Filename);
Initialize(Reader);
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if WITH_EDITOR
FPakFile::FPakFile(FArchive* Archive)
: FilenameHashesIndex(nullptr)
, FilenameHashesIndices(nullptr)
, FilenameHashes(nullptr)
, MiniPakEntriesOffsets(nullptr)
, MiniPakEntries(nullptr)
, NumEntries(0)
, bSigned(false)
, bIsValid(false)
, bFilenamesRemoved(false)
, ChunkID(INDEX_NONE)
, MappedFileHandle(nullptr)
{
Initialize(Archive);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#endif
FPakFile::~FPakFile()
{
delete MappedFileHandle;
delete[] MiniPakEntries;
delete[] MiniPakEntriesOffsets;
delete[] FilenameHashes;
delete[] FilenameHashesIndices;
delete[] FilenameHashesIndex;
}
FArchive* FPakFile::CreatePakReader(const TCHAR* Filename)
{
FArchive* ReaderArchive = IFileManager::Get().CreateFileReader(Filename);
Copying //UE4/Dev-Core to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2877442 on 2016/02/23 by Graeme.Thornton@GThornton_DevCore Allow 'dumpnonframe' stat command to also take an optional group name which will filter the output Change 2879289 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Removed "-" in switch string for load time tracker. Makes -NoLoadTrackClear cmd line param actually work Change 2879323 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore PC builds now log engine initialization time with the load time tracker Change 2879418 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Optimization for FSignedArchiveReader - Compute incoming data hash in parallel on another thread while we serialize and decrypt the signature on the chunk cache worker thread Change 2879419 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Extra stats for PakFile group - Time reading from pak handles - Number of open pak handles Change 2881199 on 2016/02/25 by Graeme.Thornton@GThornton_DevCore Use 32 bit CRCs to hash chunk contents rather than SHA1. Much faster to compute than SHA1, and the decrypting 4 bytes rather than 20 is also a lot faster Change 2885687 on 2016/02/29 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Close disregard for GC pool when disabling it to leave it in a good state. Change 2887358 on 2016/03/01 by Steve.Robb@Dev-Core FlushCurrentThreadCache calls forwarded on from FMalloc wrappers. Change 2887398 on 2016/03/01 by Steve.Robb@Dev-Core Stats for MallocBinned2. Change 2887682 on 2016/03/01 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added code to catch game hangs. If game thread is stalled for more than 5 seconds we will catch that, report its callstack and crash. Change 2889573 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Renamed the new StackWalkAndDump to ThreadStackWalkAndDump to avoid name collisions and build errors. Change 2889687 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Send thread heartbeats during potentially slow tasks. Change 2889963 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added the ability to query the name of a thread given its TLS id. Change 2890439 on 2016/03/02 by Steve.Robb@Dev-Core MallocBinned redirection header, to allow easy switching between MallocBinned and MallocBinned2. Switch back to MallocBinned by default. Change 2891799 on 2016/03/03 by Steve.Robb@Dev-Core Shrunken GMallocBinned2MemSizeToIndex array. Improvement of some shared templated alignment-related functions. Change 2891812 on 2016/03/03 by Graeme.Thornton@GThornton_DevCore Refactoring of pak signing to be more compatible with patching - Store signatures in a block at the end of the pak file - Optimize decryption of signatures by serializing them all when the pak is opened, and decrypting on the chunk cache worker thread between read requests. Change 2891813 on 2016/03/03 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2 Don't compile UnrealPak with ICU Change 2892386 on 2016/03/03 by Steve.Robb@Dev-Core GitHub #2070 - Fix incorrect FMallocDebug::Malloc alignment checking Change 2894189 on 2016/03/04 by Steve.Robb@Dev-Core Memswap fixes for sizes of 3, 5, 6 and 7, and early out on 0. Change 2894427 on 2016/03/04 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Don't display message boxes in unattended mode when D3D device is removed. Change 2896912 on 2016/03/07 by Graeme.Thornton@GThornton_DevCore Disable reading of anything outside the pak file when in shipping builds Change 2897053 on 2016/03/07 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 A few improvements to thread heartbeat thread: - Don't check for heartbeat in debug builds - Don't spawn the thread heartbeat thread for programs - Ignore stalls when exiting Change 2898752 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Fixing race conditions when using malloc verify Change 2899075 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 UnrealPak will now accept hex values for p and q. Added the command line param to trust p and q. Change 2899091 on 2016/03/08 by Steve.Robb@Dev-Core Fix for TQueue::Peek const-correctness. Change 2902775 on 2016/03/10 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Adding code to test signature keys. Change 2905040 on 2016/03/11 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 TBigInt Multiply is now 30x faster Change 2905218 on 2016/03/11 by Steve.Robb@Dev-Core New FCString::Strspn and FCString::Strcspn functions. [CL 2921423 by Robert Manuszewski in Main branch]
2016-03-24 13:53:55 -04:00
return SetupSignedPakReader(ReaderArchive, Filename);
}
FArchive* FPakFile::CreatePakReader(IFileHandle& InHandle, const TCHAR* Filename)
{
FArchive* ReaderArchive = new FArchiveFileReaderGeneric(&InHandle, Filename, InHandle.Size());
Copying //UE4/Dev-Core to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2877442 on 2016/02/23 by Graeme.Thornton@GThornton_DevCore Allow 'dumpnonframe' stat command to also take an optional group name which will filter the output Change 2879289 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Removed "-" in switch string for load time tracker. Makes -NoLoadTrackClear cmd line param actually work Change 2879323 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore PC builds now log engine initialization time with the load time tracker Change 2879418 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Optimization for FSignedArchiveReader - Compute incoming data hash in parallel on another thread while we serialize and decrypt the signature on the chunk cache worker thread Change 2879419 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Extra stats for PakFile group - Time reading from pak handles - Number of open pak handles Change 2881199 on 2016/02/25 by Graeme.Thornton@GThornton_DevCore Use 32 bit CRCs to hash chunk contents rather than SHA1. Much faster to compute than SHA1, and the decrypting 4 bytes rather than 20 is also a lot faster Change 2885687 on 2016/02/29 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Close disregard for GC pool when disabling it to leave it in a good state. Change 2887358 on 2016/03/01 by Steve.Robb@Dev-Core FlushCurrentThreadCache calls forwarded on from FMalloc wrappers. Change 2887398 on 2016/03/01 by Steve.Robb@Dev-Core Stats for MallocBinned2. Change 2887682 on 2016/03/01 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added code to catch game hangs. If game thread is stalled for more than 5 seconds we will catch that, report its callstack and crash. Change 2889573 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Renamed the new StackWalkAndDump to ThreadStackWalkAndDump to avoid name collisions and build errors. Change 2889687 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Send thread heartbeats during potentially slow tasks. Change 2889963 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added the ability to query the name of a thread given its TLS id. Change 2890439 on 2016/03/02 by Steve.Robb@Dev-Core MallocBinned redirection header, to allow easy switching between MallocBinned and MallocBinned2. Switch back to MallocBinned by default. Change 2891799 on 2016/03/03 by Steve.Robb@Dev-Core Shrunken GMallocBinned2MemSizeToIndex array. Improvement of some shared templated alignment-related functions. Change 2891812 on 2016/03/03 by Graeme.Thornton@GThornton_DevCore Refactoring of pak signing to be more compatible with patching - Store signatures in a block at the end of the pak file - Optimize decryption of signatures by serializing them all when the pak is opened, and decrypting on the chunk cache worker thread between read requests. Change 2891813 on 2016/03/03 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2 Don't compile UnrealPak with ICU Change 2892386 on 2016/03/03 by Steve.Robb@Dev-Core GitHub #2070 - Fix incorrect FMallocDebug::Malloc alignment checking Change 2894189 on 2016/03/04 by Steve.Robb@Dev-Core Memswap fixes for sizes of 3, 5, 6 and 7, and early out on 0. Change 2894427 on 2016/03/04 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Don't display message boxes in unattended mode when D3D device is removed. Change 2896912 on 2016/03/07 by Graeme.Thornton@GThornton_DevCore Disable reading of anything outside the pak file when in shipping builds Change 2897053 on 2016/03/07 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 A few improvements to thread heartbeat thread: - Don't check for heartbeat in debug builds - Don't spawn the thread heartbeat thread for programs - Ignore stalls when exiting Change 2898752 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Fixing race conditions when using malloc verify Change 2899075 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 UnrealPak will now accept hex values for p and q. Added the command line param to trust p and q. Change 2899091 on 2016/03/08 by Steve.Robb@Dev-Core Fix for TQueue::Peek const-correctness. Change 2902775 on 2016/03/10 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Adding code to test signature keys. Change 2905040 on 2016/03/11 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 TBigInt Multiply is now 30x faster Change 2905218 on 2016/03/11 by Steve.Robb@Dev-Core New FCString::Strspn and FCString::Strcspn functions. [CL 2921423 by Robert Manuszewski in Main branch]
2016-03-24 13:53:55 -04:00
return SetupSignedPakReader(ReaderArchive, Filename);
}
Copying //UE4/Dev-Core to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2877442 on 2016/02/23 by Graeme.Thornton@GThornton_DevCore Allow 'dumpnonframe' stat command to also take an optional group name which will filter the output Change 2879289 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Removed "-" in switch string for load time tracker. Makes -NoLoadTrackClear cmd line param actually work Change 2879323 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore PC builds now log engine initialization time with the load time tracker Change 2879418 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Optimization for FSignedArchiveReader - Compute incoming data hash in parallel on another thread while we serialize and decrypt the signature on the chunk cache worker thread Change 2879419 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Extra stats for PakFile group - Time reading from pak handles - Number of open pak handles Change 2881199 on 2016/02/25 by Graeme.Thornton@GThornton_DevCore Use 32 bit CRCs to hash chunk contents rather than SHA1. Much faster to compute than SHA1, and the decrypting 4 bytes rather than 20 is also a lot faster Change 2885687 on 2016/02/29 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Close disregard for GC pool when disabling it to leave it in a good state. Change 2887358 on 2016/03/01 by Steve.Robb@Dev-Core FlushCurrentThreadCache calls forwarded on from FMalloc wrappers. Change 2887398 on 2016/03/01 by Steve.Robb@Dev-Core Stats for MallocBinned2. Change 2887682 on 2016/03/01 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added code to catch game hangs. If game thread is stalled for more than 5 seconds we will catch that, report its callstack and crash. Change 2889573 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Renamed the new StackWalkAndDump to ThreadStackWalkAndDump to avoid name collisions and build errors. Change 2889687 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Send thread heartbeats during potentially slow tasks. Change 2889963 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added the ability to query the name of a thread given its TLS id. Change 2890439 on 2016/03/02 by Steve.Robb@Dev-Core MallocBinned redirection header, to allow easy switching between MallocBinned and MallocBinned2. Switch back to MallocBinned by default. Change 2891799 on 2016/03/03 by Steve.Robb@Dev-Core Shrunken GMallocBinned2MemSizeToIndex array. Improvement of some shared templated alignment-related functions. Change 2891812 on 2016/03/03 by Graeme.Thornton@GThornton_DevCore Refactoring of pak signing to be more compatible with patching - Store signatures in a block at the end of the pak file - Optimize decryption of signatures by serializing them all when the pak is opened, and decrypting on the chunk cache worker thread between read requests. Change 2891813 on 2016/03/03 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2 Don't compile UnrealPak with ICU Change 2892386 on 2016/03/03 by Steve.Robb@Dev-Core GitHub #2070 - Fix incorrect FMallocDebug::Malloc alignment checking Change 2894189 on 2016/03/04 by Steve.Robb@Dev-Core Memswap fixes for sizes of 3, 5, 6 and 7, and early out on 0. Change 2894427 on 2016/03/04 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Don't display message boxes in unattended mode when D3D device is removed. Change 2896912 on 2016/03/07 by Graeme.Thornton@GThornton_DevCore Disable reading of anything outside the pak file when in shipping builds Change 2897053 on 2016/03/07 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 A few improvements to thread heartbeat thread: - Don't check for heartbeat in debug builds - Don't spawn the thread heartbeat thread for programs - Ignore stalls when exiting Change 2898752 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Fixing race conditions when using malloc verify Change 2899075 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 UnrealPak will now accept hex values for p and q. Added the command line param to trust p and q. Change 2899091 on 2016/03/08 by Steve.Robb@Dev-Core Fix for TQueue::Peek const-correctness. Change 2902775 on 2016/03/10 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Adding code to test signature keys. Change 2905040 on 2016/03/11 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 TBigInt Multiply is now 30x faster Change 2905218 on 2016/03/11 by Steve.Robb@Dev-Core New FCString::Strspn and FCString::Strcspn functions. [CL 2921423 by Robert Manuszewski in Main branch]
2016-03-24 13:53:55 -04:00
FArchive* FPakFile::SetupSignedPakReader(FArchive* ReaderArchive, const TCHAR* Filename)
{
Copying //UE4/Dev-Core to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2877442 on 2016/02/23 by Graeme.Thornton@GThornton_DevCore Allow 'dumpnonframe' stat command to also take an optional group name which will filter the output Change 2879289 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Removed "-" in switch string for load time tracker. Makes -NoLoadTrackClear cmd line param actually work Change 2879323 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore PC builds now log engine initialization time with the load time tracker Change 2879418 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Optimization for FSignedArchiveReader - Compute incoming data hash in parallel on another thread while we serialize and decrypt the signature on the chunk cache worker thread Change 2879419 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Extra stats for PakFile group - Time reading from pak handles - Number of open pak handles Change 2881199 on 2016/02/25 by Graeme.Thornton@GThornton_DevCore Use 32 bit CRCs to hash chunk contents rather than SHA1. Much faster to compute than SHA1, and the decrypting 4 bytes rather than 20 is also a lot faster Change 2885687 on 2016/02/29 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Close disregard for GC pool when disabling it to leave it in a good state. Change 2887358 on 2016/03/01 by Steve.Robb@Dev-Core FlushCurrentThreadCache calls forwarded on from FMalloc wrappers. Change 2887398 on 2016/03/01 by Steve.Robb@Dev-Core Stats for MallocBinned2. Change 2887682 on 2016/03/01 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added code to catch game hangs. If game thread is stalled for more than 5 seconds we will catch that, report its callstack and crash. Change 2889573 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Renamed the new StackWalkAndDump to ThreadStackWalkAndDump to avoid name collisions and build errors. Change 2889687 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Send thread heartbeats during potentially slow tasks. Change 2889963 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added the ability to query the name of a thread given its TLS id. Change 2890439 on 2016/03/02 by Steve.Robb@Dev-Core MallocBinned redirection header, to allow easy switching between MallocBinned and MallocBinned2. Switch back to MallocBinned by default. Change 2891799 on 2016/03/03 by Steve.Robb@Dev-Core Shrunken GMallocBinned2MemSizeToIndex array. Improvement of some shared templated alignment-related functions. Change 2891812 on 2016/03/03 by Graeme.Thornton@GThornton_DevCore Refactoring of pak signing to be more compatible with patching - Store signatures in a block at the end of the pak file - Optimize decryption of signatures by serializing them all when the pak is opened, and decrypting on the chunk cache worker thread between read requests. Change 2891813 on 2016/03/03 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2 Don't compile UnrealPak with ICU Change 2892386 on 2016/03/03 by Steve.Robb@Dev-Core GitHub #2070 - Fix incorrect FMallocDebug::Malloc alignment checking Change 2894189 on 2016/03/04 by Steve.Robb@Dev-Core Memswap fixes for sizes of 3, 5, 6 and 7, and early out on 0. Change 2894427 on 2016/03/04 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Don't display message boxes in unattended mode when D3D device is removed. Change 2896912 on 2016/03/07 by Graeme.Thornton@GThornton_DevCore Disable reading of anything outside the pak file when in shipping builds Change 2897053 on 2016/03/07 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 A few improvements to thread heartbeat thread: - Don't check for heartbeat in debug builds - Don't spawn the thread heartbeat thread for programs - Ignore stalls when exiting Change 2898752 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Fixing race conditions when using malloc verify Change 2899075 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 UnrealPak will now accept hex values for p and q. Added the command line param to trust p and q. Change 2899091 on 2016/03/08 by Steve.Robb@Dev-Core Fix for TQueue::Peek const-correctness. Change 2902775 on 2016/03/10 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Adding code to test signature keys. Change 2905040 on 2016/03/11 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 TBigInt Multiply is now 30x faster Change 2905218 on 2016/03/11 by Steve.Robb@Dev-Core New FCString::Strspn and FCString::Strcspn functions. [CL 2921423 by Robert Manuszewski in Main branch]
2016-03-24 13:53:55 -04:00
if (FPlatformProperties::RequiresCookedData())
{
bool bShouldCheckSignature = bSigned || FParse::Param(FCommandLine::Get(), TEXT("signedpak")) || FParse::Param(FCommandLine::Get(), TEXT("signed"));
#if !UE_BUILD_SHIPPING
bShouldCheckSignature &= !FParse::Param(FCommandLine::Get(), TEXT("FileOpenLog"));
#endif
if (bShouldCheckSignature)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (!Decryptor)
Copying //UE4/Dev-Core to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2877442 on 2016/02/23 by Graeme.Thornton@GThornton_DevCore Allow 'dumpnonframe' stat command to also take an optional group name which will filter the output Change 2879289 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Removed "-" in switch string for load time tracker. Makes -NoLoadTrackClear cmd line param actually work Change 2879323 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore PC builds now log engine initialization time with the load time tracker Change 2879418 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Optimization for FSignedArchiveReader - Compute incoming data hash in parallel on another thread while we serialize and decrypt the signature on the chunk cache worker thread Change 2879419 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Extra stats for PakFile group - Time reading from pak handles - Number of open pak handles Change 2881199 on 2016/02/25 by Graeme.Thornton@GThornton_DevCore Use 32 bit CRCs to hash chunk contents rather than SHA1. Much faster to compute than SHA1, and the decrypting 4 bytes rather than 20 is also a lot faster Change 2885687 on 2016/02/29 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Close disregard for GC pool when disabling it to leave it in a good state. Change 2887358 on 2016/03/01 by Steve.Robb@Dev-Core FlushCurrentThreadCache calls forwarded on from FMalloc wrappers. Change 2887398 on 2016/03/01 by Steve.Robb@Dev-Core Stats for MallocBinned2. Change 2887682 on 2016/03/01 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added code to catch game hangs. If game thread is stalled for more than 5 seconds we will catch that, report its callstack and crash. Change 2889573 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Renamed the new StackWalkAndDump to ThreadStackWalkAndDump to avoid name collisions and build errors. Change 2889687 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Send thread heartbeats during potentially slow tasks. Change 2889963 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added the ability to query the name of a thread given its TLS id. Change 2890439 on 2016/03/02 by Steve.Robb@Dev-Core MallocBinned redirection header, to allow easy switching between MallocBinned and MallocBinned2. Switch back to MallocBinned by default. Change 2891799 on 2016/03/03 by Steve.Robb@Dev-Core Shrunken GMallocBinned2MemSizeToIndex array. Improvement of some shared templated alignment-related functions. Change 2891812 on 2016/03/03 by Graeme.Thornton@GThornton_DevCore Refactoring of pak signing to be more compatible with patching - Store signatures in a block at the end of the pak file - Optimize decryption of signatures by serializing them all when the pak is opened, and decrypting on the chunk cache worker thread between read requests. Change 2891813 on 2016/03/03 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2 Don't compile UnrealPak with ICU Change 2892386 on 2016/03/03 by Steve.Robb@Dev-Core GitHub #2070 - Fix incorrect FMallocDebug::Malloc alignment checking Change 2894189 on 2016/03/04 by Steve.Robb@Dev-Core Memswap fixes for sizes of 3, 5, 6 and 7, and early out on 0. Change 2894427 on 2016/03/04 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Don't display message boxes in unattended mode when D3D device is removed. Change 2896912 on 2016/03/07 by Graeme.Thornton@GThornton_DevCore Disable reading of anything outside the pak file when in shipping builds Change 2897053 on 2016/03/07 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 A few improvements to thread heartbeat thread: - Don't check for heartbeat in debug builds - Don't spawn the thread heartbeat thread for programs - Ignore stalls when exiting Change 2898752 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Fixing race conditions when using malloc verify Change 2899075 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 UnrealPak will now accept hex values for p and q. Added the command line param to trust p and q. Change 2899091 on 2016/03/08 by Steve.Robb@Dev-Core Fix for TQueue::Peek const-correctness. Change 2902775 on 2016/03/10 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Adding code to test signature keys. Change 2905040 on 2016/03/11 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 TBigInt Multiply is now 30x faster Change 2905218 on 2016/03/11 by Steve.Robb@Dev-Core New FCString::Strspn and FCString::Strcspn functions. [CL 2921423 by Robert Manuszewski in Main branch]
2016-03-24 13:53:55 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
Decryptor = MakeUnique<FChunkCacheWorker>(ReaderArchive, Filename);
Copying //UE4/Dev-Core to //UE4/Main ========================== MAJOR FEATURES + CHANGES ========================== Change 2877442 on 2016/02/23 by Graeme.Thornton@GThornton_DevCore Allow 'dumpnonframe' stat command to also take an optional group name which will filter the output Change 2879289 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Removed "-" in switch string for load time tracker. Makes -NoLoadTrackClear cmd line param actually work Change 2879323 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore PC builds now log engine initialization time with the load time tracker Change 2879418 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Optimization for FSignedArchiveReader - Compute incoming data hash in parallel on another thread while we serialize and decrypt the signature on the chunk cache worker thread Change 2879419 on 2016/02/24 by Graeme.Thornton@GThornton_DevCore Extra stats for PakFile group - Time reading from pak handles - Number of open pak handles Change 2881199 on 2016/02/25 by Graeme.Thornton@GThornton_DevCore Use 32 bit CRCs to hash chunk contents rather than SHA1. Much faster to compute than SHA1, and the decrypting 4 bytes rather than 20 is also a lot faster Change 2885687 on 2016/02/29 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Close disregard for GC pool when disabling it to leave it in a good state. Change 2887358 on 2016/03/01 by Steve.Robb@Dev-Core FlushCurrentThreadCache calls forwarded on from FMalloc wrappers. Change 2887398 on 2016/03/01 by Steve.Robb@Dev-Core Stats for MallocBinned2. Change 2887682 on 2016/03/01 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added code to catch game hangs. If game thread is stalled for more than 5 seconds we will catch that, report its callstack and crash. Change 2889573 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Renamed the new StackWalkAndDump to ThreadStackWalkAndDump to avoid name collisions and build errors. Change 2889687 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Send thread heartbeats during potentially slow tasks. Change 2889963 on 2016/03/02 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Added the ability to query the name of a thread given its TLS id. Change 2890439 on 2016/03/02 by Steve.Robb@Dev-Core MallocBinned redirection header, to allow easy switching between MallocBinned and MallocBinned2. Switch back to MallocBinned by default. Change 2891799 on 2016/03/03 by Steve.Robb@Dev-Core Shrunken GMallocBinned2MemSizeToIndex array. Improvement of some shared templated alignment-related functions. Change 2891812 on 2016/03/03 by Graeme.Thornton@GThornton_DevCore Refactoring of pak signing to be more compatible with patching - Store signatures in a block at the end of the pak file - Optimize decryption of signatures by serializing them all when the pak is opened, and decrypting on the chunk cache worker thread between read requests. Change 2891813 on 2016/03/03 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream2 Don't compile UnrealPak with ICU Change 2892386 on 2016/03/03 by Steve.Robb@Dev-Core GitHub #2070 - Fix incorrect FMallocDebug::Malloc alignment checking Change 2894189 on 2016/03/04 by Steve.Robb@Dev-Core Memswap fixes for sizes of 3, 5, 6 and 7, and early out on 0. Change 2894427 on 2016/03/04 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Don't display message boxes in unattended mode when D3D device is removed. Change 2896912 on 2016/03/07 by Graeme.Thornton@GThornton_DevCore Disable reading of anything outside the pak file when in shipping builds Change 2897053 on 2016/03/07 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 A few improvements to thread heartbeat thread: - Don't check for heartbeat in debug builds - Don't spawn the thread heartbeat thread for programs - Ignore stalls when exiting Change 2898752 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Fixing race conditions when using malloc verify Change 2899075 on 2016/03/08 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 UnrealPak will now accept hex values for p and q. Added the command line param to trust p and q. Change 2899091 on 2016/03/08 by Steve.Robb@Dev-Core Fix for TQueue::Peek const-correctness. Change 2902775 on 2016/03/10 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 Adding code to test signature keys. Change 2905040 on 2016/03/11 by Robert.Manuszewski@Robert.Manuszewski_NCL_Stream1 TBigInt Multiply is now 30x faster Change 2905218 on 2016/03/11 by Steve.Robb@Dev-Core New FCString::Strspn and FCString::Strcspn functions. [CL 2921423 by Robert Manuszewski in Main branch]
2016-03-24 13:53:55 -04:00
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
ReaderArchive = new FSignedArchiveReader(ReaderArchive, Decryptor.Get());
}
}
return ReaderArchive;
}
void FPakFile::Initialize(FArchive* Reader)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
CachedTotalSize = Reader->TotalSize();
int32 CompatibleVersion = FPakInfo::PakFile_Version_Latest;
LLM_SCOPE(ELLMTag::FileSystem);
// Serialize trailer and check if everything is as expected.
// start up one to offset the -- below
CompatibleVersion++;
do
{
// try the next version down
CompatibleVersion--;
// go to start
Reader->Seek(CachedTotalSize - Info.GetSerializedSize(CompatibleVersion));
// read it in (this will check size, etc, and is considered safe)
Info.Serialize(*Reader, CompatibleVersion);
}
while (Info.Magic != FPakInfo::PakFile_Magic && CompatibleVersion >= FPakInfo::PakFile_Version_Initial);
UE_CLOG(Info.Magic != FPakInfo::PakFile_Magic, LogPakFile, Fatal, TEXT("Trailing magic number (%ud) in '%s' is different than the expected one. Verify your installation."), Info.Magic, *PakFilename);
UE_CLOG(!(Info.Version >= FPakInfo::PakFile_Version_Initial && Info.Version <= CompatibleVersion), LogPakFile, Fatal, TEXT("Invalid pak file version (%d) in '%s'. Verify your installation."), Info.Version, *PakFilename);
UE_CLOG((Info.bEncryptedIndex == 1) && (!FCoreDelegates::GetPakEncryptionKeyDelegate().IsBound()), LogPakFile, Fatal, TEXT("Index of pak file '%s' is encrypted, but this executable doesn't have any valid decryption keys"), *PakFilename);
UE_CLOG(!(Info.IndexOffset >= 0 && Info.IndexOffset < CachedTotalSize), LogPakFile, Fatal, TEXT("Index offset for pak file '%s' is invalid (%lld)"), *PakFilename, Info.IndexOffset);
UE_CLOG(!((Info.IndexOffset + Info.IndexSize) >= 0 && (Info.IndexOffset + Info.IndexSize) <= CachedTotalSize), LogPakFile, Fatal, TEXT("Index end offset for pak file '%s' is invalid (%lld)"), *PakFilename, Info.IndexOffset + Info.IndexSize);
// If we aren't using a dynamic encryption key, process the pak file using the embedded key
if (!Info.EncryptionKeyGuid.IsValid() || GetRegisteredEncryptionKeys().HasKey(Info.EncryptionKeyGuid))
{
LoadIndex(Reader);
if (FParse::Param(FCommandLine::Get(), TEXT("checkpak")))
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
{
ensure(Check());
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
}
// LoadIndex should crash in case of an error, so just assume everything is ok if we got here.
bIsValid = true;
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3106465) #lockdown Nick.Penwarden Change 3110660 on 2016/9/1 by Andrew.Grant Moved performance/quality warnings out of DrawStatsHUD into new function and now display them in everything other than shipping builds (unless disabled, or screenshot/movie dumping is in progress. HLOD warning is updated every 20 secs to deal with streaing levels. Moved debug warnings into a separate Draw function (still disabled in test, but would like to make this an option in Orion soon). #rb Michael.Noland #tests verified we see our unbuilt HLOD warning in v31 :( Change 3106649 on 2016/08/30 by Cody.Haskell #Orion - Input Axis Work #rb DanH #tests PIE Change 3106299 on 2016/08/30 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 31.2 @ CL 3105865 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3105969 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3106213 on 2016/08/30 by Ben.Marsh BuildGraph: Include UAT, UBT, and UHT binaries in precompiled binaries zip file. #rb none #tests preflight Change 3105994 on 2016/08/30 by Martin.Wilson Stop recompression happening when additive frame index is changed "interactively" (recompression will occur at end of interactive input) #jira UE-35289 #rb Thomas.Sarkanen #tests Tested UI in editor Change 3105331 on 2016/08/29 by Uriel.Doyon Allowed texture to ignore streaming MipBias with UTexture2D::bIgnoreStreamingMipBias Used this new flag when assigning texture to UImage::SetBrushFromTexture to prevent having low quality UI in low texture budget. #rb marcus.wassmer #tests launched editor and played game #jira OR-25814 Change 3105143 on 2016/08/29 by Josh.Markiewicz #UE4 - added assert when histogram input parameters don't match #rb none #tests launched/ran/won game golden path #codereview dmitry.rekman, michael.noland, bart.bressler Change 3104976 on 2016/08/29 by Jon.Lietz pickup refector - fixed a big that would allow mixed replication to call a gameplay cue's added twice. - All pickups now use the pick up manager, consolidated all pick up code into the manager. - added to the XP set so we can define the CXP bounty for targets. #RB Dave.Ratti #tests Bot match, test maps, spawning coins and pickups. Change 3103480 on 2016/08/26 by Josh.Markiewicz #UE4 - added GetSessionIdStr to FOnlineSessionSearchResult and FOnlineSession #rb none #tests golden path matchmaking #codereview paul.moore, eric.newman Change 3103410 on 2016/08/26 by Max.Chen Movie Capture: Fix commandline burnin option. #rb none #tests Render movie with commandline -UseBurnIn=yes option. Change 3102134 on 2016/08/25 by Brian.Karis Fix for HDR output exposure. Added 1000nit output option. #rb marcus #tests agora Change 3101276 on 2016/08/25 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_31 - Merging CL 3100347 (head revision of 2 files :o ) #RB:none #Tests:none [CodeReviewed]: matt.schembari, max.preussner #R@BOMERGE-SOURCE: CL 3101273 in //Orion/Release-31/... via CL 3101274 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3101267 on 2016/08/25 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_DUI - Integrating Media changes from 4.13 (head revision) #RB:none #Tests:none /Engine/Plugins/Media /Engine/Source/Runtime/Media /Engine/Source/Runtime/MediaAssets [CodeReviewed] matt.schembari, max.preussner #R@BOMERGE-SOURCE: CL 3099267 in //Orion/Dev-UI/... via CL 3101266 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3100378 on 2016/08/24 by John.Pollard Fix a crash that can occur when scrubbing in replays #codereview David.Ratti #tests Replays #rb DavidR This is the output: [2016.08.24-21.35.05:973][603]LogAbilitySystem:Warning: OnRep_ReplicatedAnimMontage: PlayMontageSimulated failed. Name: AbilitySystemComponent0, AnimMontage: LevelStart_Montage Change 3100375 on 2016/08/24 by Laurent.Delayen Added AimOffsetLookAt node. AimOffset node that drives its inputs automatically from a Target Location (and a Source Socket). #rb none #codereview lina.halper #tests Tacticia's RMB Targeting Change 3100278 on 2016/08/24 by Laurent.Delayen Fix for fast path struct copy being broken for FVectors. #rb lina.halper #codereview thomas.sarkanen #tests Chains' hook, Tacticia's LaserBeam and OrientationWarping Change 3100161 on 2016/08/24 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Fix issue with refresh viewer command failing due to backend congestion #rb RyanG #tests Replays Change 3100114 on 2016/08/24 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3098849 #RB:none #Tests:none #CodeReview: kerrington.smith, matt.schembari #R@BOMERGE-SOURCE: CL 3100078 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3100015 on 2016/08/24 by Michael.Noland Don't allow the consideration of nodes that won't be processed to affect the live aspect of the active sound containing a cross fade node #jira UE-34998 #rb Aaron.McLeran [re-implementing CL# 3098559 originaly by Marc.Audy in Release 4.13] #tests Compiled and ran a golden path match with headphones on Change 3100012 on 2016/08/24 by Michael.Noland UE-34951 - Zero-volume vorbis decoded sounds are too expensive -Adding an audio settings parameter to disable zero-volume playback globally -Adding a new bool on sound waves to allow opt-in to virtualize when at zero-volume #rb marc.audy [re-implementing CL# 3094893 from Dev-Framework, originally by Aaron McLeran] #tests Compiled and ran a golden path match with headphones on Change 3099889 on 2016/08/24 by Max.Chen Sequencer: Added command line option to enable burnin #rb none #tests Render movie from command line wtih -UseBurnIn=yes Change 3099801 on 2016/08/24 by Lina.Halper Removed unnecessary comment #rb: none #code review: Benn.Gallagher #tests: compile Change 3099787 on 2016/08/24 by Jason.Bestimt #R@BOMERGE-AUTHOR: sam.zamani #http - fix for cancelled requests that have not been started never triggering a completion delegate - fixes soft lock when handling disconnects during login OR-26945 The client stays on the "downloading profile" screen when rejoining after disconnecting #rb josh.markiewicz, alex.fennell #tests none #R@BOMERGE-SOURCE: CL 3099782 in //Orion/Release-30.2/... via CL 3099784 via CL 3099785 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3099252 on 2016/08/24 by Lina.Halper Fixed menu text #rb: none #code review: Thomas.Sarkanen #tests: open editor and create child montage and replaced the animation Change 3099251 on 2016/08/24 by Lina.Halper Deterministic cooking of skeleton - abandon all guid from GuidMap. GuidMap is still important since we have to generate UID from it, but GuidMap only contains name once cooked #jira: UE-34834 #rb: Martin.Wilson #tests: cooking orion and make sure it works Change 3098504 on 2016/08/23 by Bart.Bressler Add server time between sending packets monitoring histogram #rb dmitry.rekman #tests ran server locally and made sure analytics events were sent Change 3098494 on 2016/08/23 by Michael.Noland Engine: Added UWorld::SetTimeUntilNextGarbageCollection to change the GC timer for use when doing automated performance capture measurements - Note: Things that force a GC will still force a GC after using this method (and they will also reset the timer) - Fixed a bug where UWorld::ForceGarbageCollection might not force a GC immediately if run on a server with no clients connected #tests Tested by calling while stat dumphitches was active and confirmed that the interval changed #codereview ben.salem, gil.gribb #rb none Change 3098491 on 2016/08/23 by Mieszko.Zielinski Expanded BTDecorator_IsAtLocation with an option to use AIDataProvider #UE4 #rb Lukasz.Furman #test golden path Change 3098070 on 2016/08/23 by Lina.Halper Fix crash with UI update reconstructing - will have to come up with a better solution than this. #rb: Martin.Wilson #tests: child anim montage Change 3097914 on 2016/08/23 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel Merging CL #3097879 from //WEX/Main/Engine/Source/Runtime/Online/NotForLicensees/OnlineSubsystemMcp/... to //Orion/Main/Engine/Plugins/Online/NotForLicensees/OnlineSubsystemMcp/Source/... #Analytics #OSS: Adjusted cohort selection algorithm and test cases [CodeReviewed]: Philip.Buuck #TESTS: unit tests #RB: none #R@BOMERGE-SOURCE: CL 3097911 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3097745 on 2016/08/23 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Megre 30.2/31 @ CL 3096895 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3097716 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3097722 on 2016/08/23 by Chris.Bunner Update texture expression properties before triggering parent material recompile. #rb John.Billon #tests Editor replace references, Golden path #jira OR-27531 Change 3097694 on 2016/08/23 by Lina.Halper #Child Anim Montage - Duplicate from parent of the information it cares to get - Currently it is selective on copying what data - Modified GetAllAnimationSequencesReferred to get a partial data - Added ParentAsset/AssetMappingTable in AnimationAsset - Sequence Browser opening would also add to history - AnimNotify - CanBeplaced virtual function lets you filter which asset it's placed on #code review: Benn.Gallagher, Thomas.Sarkanen, David.Ratti #rb:Martin.Wilson #tests: creating child montage, editing, lots of UI functionality, notifies placement Change 3097513 on 2016/08/23 by Thomas.Sarkanen Non-POD structs can now be copied using the fast path We now always use CPP struct ops to perform copies when dealing with struct properties. #jira UE-34571 - Support struct member access on AnimBP fast path #rb Laurent.Delayen #tests OrionEntry with Tacticia, confirming orientation warping works correctly and fast path is enabled. Agora_P with Tacticia & bots, played two games. Change 3096729 on 2016/08/22 by Mieszko.Zielinski Fixes to EQS scoring function preview #UE4 #rb Lukasz.Furman #test golden path Change 3096596 on 2016/08/22 by Jason.Bestimt #ORION_DG - Fixes from 4.13 to video playback (CL# 3075761 & 3083970) #RB:none #Tests:none #CodeReview: matt.schembari, max.preussner #R@BOMERGE: MAIN Change 3096550 on 2016/08/22 by Jurre.deBaare Fix for HLOD dirty clusters PIE warning message #tests Simulated Origin with built HLOD clusters, and with one dirty cluster #rb none Change 3096532 on 2016/08/22 by Mieszko.Zielinski Modified GameplayTask_WaitDelay to allow specifying task's priority #UE4 As part of the change introduced UGameplayTask::NewTaskUninitialized that's basically a redirect of NewObject, but clearly indicates that a task needs to be manually initialized #codereview Lukasz.Furman #rb none #test golden path Change 3096455 on 2016/08/22 by Jason.Bestimt #R@BOMERGE-AUTHOR: keli.hlodversson #CEF: Copy upgraded CEF binaries from //Portal/Main to fix crash issues with Sofort purchases #RB David.Nikdel #TESTS none #R@BOMERGE-SOURCE: CL 3096452 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3096316 on 2016/08/22 by Sammy.James Resave to fix log warnings. BPC changes to ensure type saves. #rb #tests editor Change 3096040 on 2016/08/22 by bruce.nesbit Revised fix for landscape crash #rb GarethM #tests Game #codereview Bart.Bressler Change 3096015 on 2016/08/22 by bruce.nesbit Fixed a crash in ALandscapeProxy::PostLoad when running an editor build with -server #rb none #tests game #codereview Bart.Bressler Change 3095578 on 2016/08/19 by Mieszko.Zielinski Made NavigationSystem call TickAsyncBuild on all navigation data instances is there was an ongoing navigation build in progress in the editor #UE4 This was causing Orion's flow field to not build if auto navmesh update was disabled in the editor #rb none #test golden path #codereview Lukasz.Furman Change 3095397 on 2016/08/19 by Lina.Halper Fix issue with crash when deleting all segment #rb: Laurent.Delayen #tests: delete segment and make sure it doesn't crash #jira: UE-34830 Change 3095060 on 2016/08/19 by Bart.Bressler Don't load ULandscapeComponent objects on dedicated servers to save memory. #tests cooked server data and played a Solo vs. AI game #rb gareth.martin #codereview james.golding Change 3095037 on 2016/08/19 by Lina.Halper Potential fix with montage trigger ensure on marker sync group #jira: OR-27685 #rb: Benn.Gallagher #code review: Martin.Wilson #tests: attack primhelilx with knock up Change 3094962 on 2016/08/19 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel #Merging #OSS - Added FUserOnlineAccountMcp::SelectCohort #RB: None #TESTS: test suite in source [CodeReviewed]: Philip.Buuck #R@BOMERGE-SOURCE: CL 3094961 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3094950 on 2016/08/19 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel #Merge #UE4 - Made FMD5 const-correct #RB: none #TEST: none #R@BOMERGE-SOURCE: CL 3094949 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3094619 on 2016/08/19 by Lina.Halper #DUPEFIX - ANIM: SmartNAME: the cooking doesn't guarantee the package is saved in the order, so we'll still have to regenerate list without GUID. - assumed the name is all set by now #rb: Benn.Gallagher #jira : UE-34886 #tests: cooking infiltrator that showed same issue and run game. Change 3094532 on 2016/08/19 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3094498 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3094528 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3093260 on 2016/08/18 by Josh.Markiewicz #UE4 - changed how party reset occurs to skip relying on AGameState which could very rarely be null (during server travel) - removed unnecessary cast #rb bart.bressler #codereview bart.bressler, rob.cannaday #tests launched game, some basic party testing Change 3093224 on 2016/08/18 by Josh.Markiewicz #UE4 - added a chatroom class that does some basic chat room join/create/leave functionality to share between games #rb paul.moore #codereview anthony.carter #tests solo vs ai chat with 2 players, coop vs ai chat with 2 players, one leaving and rejoining Change 3092597 on 2016/08/17 by Daniel.Lamb Added Ben Crocker to the rebuild lighting emails. #rb Trivial #Test none Change 3092063 on 2016/08/17 by andrew.grant Merging using ROBO://Orion/Release-Candidate->//Orion/Main #rb #tests none Change 3091081 on 2016/08/16 by Jurre.deBaare Fixing non-Editor build errors #fix Wrapped parts in WITH_EDITOR and added IsBuilt to check if the LODActor has a valid static mesh (thus is not dirty) #tests Build Editor + Game #rb none Change 3091009 on 2016/08/16 by Mieszko.Zielinski Added a way to configure a map to not spawn AISystem instance at all #UE4 #rb none #test golden path Change 3090932 on 2016/08/16 by Michael.Noland Vixen: Added indication to the analytics and FPS charts #rb marcus.wassmer #tests Compiled for the platform Change 3090844 on 2016/08/16 by Laurent.Delayen Replicated CL 3090734 from Fortnite. --- Fix AbilitySystemComponent not ticking while playing a montage, and ticking when we're not playing a montage Here's the issue in the version of the code prior to this checkin: - UpdateShouldTick calls GetShouldTick, which checks the value of RepAnimMontageInfo.IsStopped - When we call UpdateShouldTick within AnimMontage_UpdateReplicatedData, we haven't set RepAnimMontageInfo.IsStopped yet to the correct value - So when we aren't playing any montages but are starting a new one, we were saying we shouldn't tick - It also means if we were playing a montage, and then stop, we'll start ticking - Ticking calls AnimMontage_UpdateReplicatedData, which should be called while we're playing #codereview john.abercrombie #rb none #tests golden path Change 3090832 on 2016/08/16 by Michael.Noland Windows: Fixed a whitespace issue #rb none #tests Compiled for windows Change 3090688 on 2016/08/16 by Jason.Bestimt #R@BOMERGE-AUTHOR: andrew.grant Merging using ROBO://Orion/Release-Candidate->//Orion/Main #rb none #tests built #R@BOMERGE-SOURCE: CL 3090687 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3090547 on 2016/08/16 by Jurre.deBaare Need a warning message similar to lighting unbuilt when HLOD cluster is not built #fix Added HLOD clusters need to be rebuilt message similar to the lighting one during PIE and game-time, and cleaned/changed "'DisableAllScreenMessages' to suppress" behaviour #jira UE-34335 #rb none #codereview Michael.Noland #tests pie Agora with and without dirty HLOD clusters Change 3090285 on 2016/08/16 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3090267 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3090282 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3089413 on 2016/08/15 by paul.mader Agora 2.0 assets Change 3089266 on 2016/08/15 by Max.Chen Sequencer: Add Convert to Possessable Copy from Dev-Sequencer #jira UE-32139 #rb none #tests Convert steel to possessable in Gameplay_PS4 map. Change 3089136 on 2016/08/15 by Mieszko.Zielinski Fixed AISense_Sight's time slicing unintentionally skipping queue aging if given time limit is reached #UE4 #rb Lukasz.Furman #codereview Dan.Youhon #test golden path Change 3089118 on 2016/08/15 by Mieszko.Zielinski Fixed a rare crash in UBlackboardData::GetKeyType resulting from a key selector referencing a type that has been removed from the project's source code #UE4 #rb none #test golden path Change 3088976 on 2016/08/15 by Andrew.Grant Fixed issue with PS4 toolchain ignoring ModuleRules.CodeOptimization.Never / ModuleRules.CodeOptimization.Always when determining optimization level of modules. Fixed issue with VC toolchain ignoring ModuleRules.CodeOptimization.Never setting. Removed superflous /Os from VC debugg settings #rb none #tests verified module built with 'Never' on PS4/Win is built without optimizations. #codereview Marcus.Wassmer, Ben.Marsh Change 3088830 on 2016/08/15 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3088807 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3088829 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3088597 on 2016/08/14 by Jason.Bestimt #ORION_DG - Trying to resolve R@BOMERGE collision (DUI to MAIN -> DG) #RB:none #Tests:none #CodeReview: andrew.grant, david.ratti, matt.schembari Change 3087827 on 2016/08/12 by Bart.Bressler Updates to skeletal mesh memory saving on dedicated server #rb lina.halper #tests Cooked server data, played a game for a while in Solo vs. AI Change 3087351 on 2016/08/12 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) #jira OR-27406 #rb RyanG #tests Replays Change 3087118 on 2016/08/12 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3086747 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3087117 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3086176 on 2016/08/11 by Marcus.Wassmer Fix PS4 ShaderPipelines not matching pixel/vertex shader properly. #rb Rolando.Caloca #tests Broken PS4 content before/after Change 3085992 on 2016/08/11 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Unclog R@BOMERGE #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3085987 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3085911 on 2016/08/11 by Laurent.Delayen Added FBoneContainer::BoneIsChildOf for FCompactPoseBoneIndex #rb none #tests Orientation Warping Change 3085614 on 2016/08/11 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3085547 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3085598 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3084507 on 2016/08/10 by Marcus.Wassmer Duplicate 3070376 and 3078879 to fix corrupted decals on Vixen. #rb none #tests paragon ps4/vixen #codereview Olaf.Piesche Change 3084136 on 2016/08/10 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3083799 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3083814 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3083424 on 2016/08/09 by Max.Chen Sequence Recorder: Fix crash when actor class to record is null. #tests Use sequence recorder to record a skeletal mesh actor #rb none Change 3083134 on 2016/08/09 by Jason.Bestimt #R@BOMERGE-AUTHOR: sam.zamani #online,store,ps4 - creating one offer entry per entitlement #rb david.nikdel, ian.fox #tests MTX purhcase on PS4 #lockdown: andrew.grant #R@BOMERGE-SOURCE: CL 3083127 in //Orion/Release-30.1/... via CL 3083128 via CL 3083131 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3083069 on 2016/08/09 by Marcus.Wassmer Vixen scalability changes #rb Michael.Noland #tests vixen/ps4 #codereview jordan.walker Change 3083063 on 2016/08/09 by Marcus.Wassmer Most games will probably run out of memory if setup to do auto-4k. Make this a setting that's off by default. #rb Michael.Noland #codereview Luke.Thatcher, Lee.Clark #tests vixen on 4k. Change 3082778 on 2016/08/09 by Marcus.Wassmer Duplicate fix for Vixen GPU page faults and rendertarget errors (3066087) #rb none #tests Agora on vixen. Change 3082772 on 2016/08/09 by Marcus.Wassmer Duplicate fix for detail mode reregistration (3065543) #rb none #tests Toggled detail mode, observe proper items spawning Change 3082765 on 2016/08/09 by Marcus.Wassmer Don't crash when trying to use windowed vsync on vixen #rb Michael.Noland #test ran paragon on vixen #codereview Luke.Thatcher,Lee.Clark Change 3082764 on 2016/08/09 by Marcus.Wassmer fix HLOD distance scale not working properly when components are re-registered. #rb michael.noland #codereview jurre.debarre #tests setting multiple times, setting on boot via deviceprofile Change 3082429 on 2016/08/09 by Jason.Bestimt #R@BOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-30.1 to Main (//Orion/Main) Change: 3082419 #online,store,PS4 OR-25384 [PS4] "There is no content. It might not be for sale yet, or might no longer be for sale" at main menu and at post match screen - added config option for toggling store on PS4 [OnlineSubsystemPS4] bStoreEnabled=true - can also override via title specific json values in <titleid>\title.json allow_mtx=true [CodeReviewed]: andrew.grant, phillip.buck, ian.fox #lockdown: andrew.grant #rb none #tests ps4 run with titleid=CUSA3609_00 (which has mtx disabled for PS4 since that title has no store support) #R@BOMERGE-SOURCE: CL 3082428 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3082194 on 2016/08/09 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3082105 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3082192 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3080984 on 2016/08/08 by Lina.Halper Issue with not being able to set static animation data via BP - artists were using SetAnimation/PlayAnimation, but they are not safe to be used in construction script, so made sure the other serializable properties are exposed via BP - also since they want it to work in level viewport, I have to tick/refresh whenever it's getting called. #rb: Martin.Wilson #tests: Sword Beauty map Change 3080665 on 2016/08/08 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3080081 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3080543 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3080565 on 2016/08/08 by Laurent.Delayen Fix for curve values during URO interpolation. Fixes flashing of materials and Twinblast's ult weapon. https://jira.ol.epicgames.net/browse/OR-27107 https://jira.ol.epicgames.net/browse/OR-24358 #rb lina.halper, martin.wilson #tests Twinblast's ult and Coil's primary. Change 3079832 on 2016/08/05 by Jason.Bestimt #R@BOMERGE-AUTHOR: marcus.wassmer Fix for PS4 crash reports not attaching the minidump when trying to force full crash dumps via commandline #rb none [CodeReviewed] Chris.Wood #tests checked crashcontext on PC/PS4 #lockdown Andrew.Grant #R@BOMERGE-SOURCE: CL 3078933 in //Orion/Release-30/... via CL 3078934 via CL 3078935 via CL 3079831 #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3079045 on 2016/08/05 by Lina.Halper Adding more log to figure out why ActivePlayers.Count becomes inconsistent. #rb: Martin.Wilson #tests: PIE with bots Change 3078944 on 2016/08/05 by Rolando.Caloca O - Update blacklisted driver #jira OR-27051 #rb Marcus.Wassmer #tests Run with AMD card Change 3078735 on 2016/08/05 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3078670 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3078734 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3078122 on 2016/08/04 by Dmitry.Rekman Linux: treat abort() / SIGABRT as crash. - Rationale: certain code not under our control (most notably, stack smashing protector) may call abort(), which would previously terminate the engine without any chance to even enter the crash handler. - Rewrote RequestExit() because it used abort() itself. - Also removed -fstack-protector. The logic behind this is: stack protector calls abort() on detecting a smash (which is suspected to contribute to missing reports), but does it at an inappropriate place, that causes stack unwinding to crash later. As bad as it sounds, it may be better to allow stack to be corrupted and crash later - hopefully outside of libc code - to some other reason. #rb Mark.Satterthwaite #codereview Mark.Satterthwaite, Michael.Noland, Andrew.Grant #review-3078104 @Mark.Satterthwaite, @Michael.Noland, @Andrew.Grant #tests Ran Linux server, crashed using different methods. Change 3077887 on 2016/08/04 by Dmitry.Rekman Initialize StackCount to 0 (kills valgrind warning). #rb David.Ratti #codereview David.Ratti #tests Ran Linux server. Change 3077257 on 2016/08/04 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3077193 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3077256 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3077242 on 2016/08/04 by Dmitry.Rekman Linux: stop heartbeat thread before handling the crash. #rb Robert.Manuszewski #codereview Robert.Manuszewski, Andrew.Grant #tests Compiled and ran Linux server, crashed it. Change 3076676 on 2016/08/03 by Dmitry.Rekman Linux: print details about memory access (read or write). - Also print all the 16 digits of the pointer. - Read/write detection only implemented for x86_64. #rb Andrew.Grant #codereview Andrew.Grant #tests Compiled (natively) and ran Linux server. Change 3076675 on 2016/08/03 by Dmitry.Rekman Print a bit more info about the array in assert. #rb Andrew.Grant #codereview Andrew.Grant #test Compiled and ran Linux server. Change 3076010 on 2016/08/03 by Laurent.Delayen Moved OrionAnimNode_LegIK from Paragon to Engine. #codereview lina.halper #rb none #tests Grim.exe + Iggy & Scorch Change 3075512 on 2016/08/03 by Matt.Kuhlenschmidt Reimplemented 3070766 for Orion: Make sure richtooltips are not generated for hidden enum items so that there is not a mismatch between rich tooltips and enum items (causing a crash) #rb none #tests none Change 3075446 on 2016/08/03 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3075422 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3075445 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3075394 on 2016/08/03 by HaarmPieter.Duiker Adding a shadows max and highlights min parameters to allow the user to control when the 'shadows' controls fall off and when the 'highlights' controls ramp in. #rb marcus.wassmer #tests post process color correction Change 3074314 on 2016/08/02 by Dmitry.Rekman Linux: change optimization from -O2 to -O1 (temporarily?). - The purpose is to make callstacks easier to follow and possibly catch stack smashing (if it happens) earlier. - Also adds a line to UBT output during compilation to draw attention. #rb Michael.Noland #codereview Michael.Noland, Andrew.Grant, Bart.Bressler #tests Compiled and ran Linux server. Change 3073553 on 2016/08/02 by jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3073360 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3073481 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) #R@BOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/BP_Hero.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3073505 on 2016/08/02 by Daniel.Lamb Added cook modification delegate stats to cooker stats. #rb Wes.Hunt #test cook paragon. Change 3072440 on 2016/08/01 by Aaron.Eady PlayerController Force Feedback (Debug only); Adding #if !(UE_BUILD_SHIPPING || UE_BUILD_TEST) around the use of the debug only variable ForceFeedbackEffectHistoryEntries. #rb none #tests SHIPPING Change 3072259 on 2016/08/01 by Aaron.Eady PlayerController Force Feedback (Debug only); Added more information to the things displayed on the screen for force feedback when we do ShowDebug ForceFeedback. #rb Michael.Noland #tests PIE Change 3071908 on 2016/08/01 by John.Pollard Fix null reference crash #rb DavidR #tests Live game + replays Change 3071876 on 2016/08/01 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Assertion failed: WriterState.Changed.Num() == 0 occurs when a Pitcher Husk hits the Player #rb none #tests FN + Paragon live game + replays #codereview Andrew.Grant Change 3071875 on 2016/08/01 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Finalize replay version system * No longer use changelist to filter replays (so we will only filter by engine/game version now, which need to be hand cranked to invalidate old versions) * Submit actual changelist when uploading (rather than locking to previous versions). We can do this now since we don't filter by changelist anymore. * Removed unnecessary 'bShowAllVersions' property from replay browser code, using cvar instead (orion.ShowAllReplayVersions) #rb RyanG #tests Live game + replays #codereview Andrew.Grant Change 3071874 on 2016/08/01 by John.Pollard Merging using Dev-Networking_->_Dev-General_(Orion) Fix gameplay tags to work better with backwards compatibility in replays * We use the net field export group system in the package map to export tag names as a packed index * This will allow us to see the names of tags that no longer exists on the remote side #rb RyanG #tests Live game + replays #codereview Andrew.Grant Change 3071776 on 2016/08/01 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30.2 @ CL 3071738 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3071775 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3071258 on 2016/07/30 by Aaron.McLeran OR-26580 CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - Removed voice operation set since it was causing crashes when stopping voices. Still a good idea, but need to make sure the async OnBufferEnd and stopping an FSoundSource can work together. - Added a proxy object that wraps the FAsyncTask used for async decoding. Calling IsDone() and EnsureCompletion() can't happen at the same time from different threads now. #rb none #tests ran paragon soaking for a long time with constant AI combat and observed no crashes or audio issues. Change 3071099 on 2016/07/30 by Aaron.McLeran OR-26580 CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay - Temporary revert of a portion of CL 3067560 which exacerbates an issue with the async decoding tasks and calling IsDone and EnsureComplete on different threads. #rb none #tests ran paragon with change and noticed no change in audio quality Change 3070916 on 2016/07/29 by Andrew.Grant Missed file! #rb #tests na Change 3070915 on 2016/07/29 by Andrew.Grant Merging //UE4/Main @ 3070724 through //UE4/Orion-Staging #rb none #tests Engine QA, Orion QA smoke Change 3070576 on 2016/07/29 by Uriel.Doyon Fixed initialization of the defrag pool size. Now controlled by r.PS4DefragPoolSize. #review-3070386 @marcus.wassmer #jira OR-25941 #rb marcus.wassmer #tests Run Game on PS4, and in editor Change 3070086 on 2016/07/29 by Martin.Wilson Fixed ensure triggering during sequencer playback due to double update. #jira UE-33938 #rb Thomas.Sarkanen #tests opened affected asset and verified problem no longer occured Change 3070016 on 2016/07/29 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 30 @ CL 3069935 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3069976 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3069435 on 2016/07/28 by Ian.Fox #Orion, #Mcp - Check if Price Engine is configured before attempting query #rb Sam.Zamani #tests none #codereview Sam.Zamani Change 3069381 on 2016/07/28 by Michael.Noland Animation: Demoted a check() in anim sync group code to an ensure() to unblock others #rb nick.penwarden #tests Loaded Paragon cine asset that was crashing #codereview lina.halper, martin.wilson Change 3069203 on 2016/07/28 by Dmitry.Rekman Headless client: do not draw windows. - Disables a bunch of code, including reaching into font cache to estimate width. - Should be probably disabled on a higher level, but cutting out the whole Slate application is infeasible (according to BradA/BenM, due to some logic requiring widgets). #rb Nick.Atamas #review-3068983 @Nick.Atamas, @Michael.Noland, @Brad.Angelcyk, @Ben.Salem #codereview Nick.Atamas, Michael.Noland, Brad.Angelcyk, Ben.Salem #tests Compiled and ran Orion Linux client. Change 3069181 on 2016/07/28 by Lina.Halper Fix struct redirector for Orion anim node moving to engine #rb: Maciej.Mroz #code review:Laurent.Delayen #tests: editor loading the anim BP that caused the name conversion Change 3069092 on 2016/07/28 by Aaron.McLeran OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves - Not all active sounds have sound classes, was causing a crash #codereview marc.audy #rb zabir.hoque #tests Run game with stat soundcues and not crash Change 3068969 on 2016/07/28 by David.Ratti Move test for invalid gameplaycue instance up, since calling IsPendingKill() on garbage can cause crash too. #rb none #tests compile Change 3068902 on 2016/07/28 by David.Ratti Code for tracking down UGameplayCueManager::GetInstancedCueActor crash. #rb none #tests compile Change 3068831 on 2016/07/28 by Aaron.McLeran OR-26417 Reverb is too loud in-game in Dev-General - Initializing prev reverb to 0s so that the first default reverb gets set when no audio volume is set. #rb Jeff.Campeau #tests run a map with no reverb audio volume and reverb is not super wet Change 3068529 on 2016/07/28 by Jason.Bestimt #R@BOMERGE-AUTHOR: david.nikdel #OSS #PurchaseMcp: Use GameService->CreateOnlineHttpRequest instead of McpSubsystem->CreateRequest to query receipts (uses subsystem config) #RB: none #TESTS: none #R@BOMERGE-SOURCE: CL 3068465 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3068399 on 2016/07/28 by Andrew.Rodham Sequencer: Changed animation tracks to allow more animation types (such as anim montages) - APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility #jira OR-25769 #tests Tested all combinations of animation with sequencer (montage+sequence on asset/BP driven animation components) and matinee. Tested running a game and playing back the announce trailer. Rendered out some movies to ensure that trails work correctly. #rb Benn.Gallagher Change 3068138 on 2016/07/28 by Marcus.Wassmer Disable mallocleak testing by default #rb none #test none Change 3068121 on 2016/07/28 by Marcus.Wassmer Make sure we always do fast stack captures when USE_FAST_STACKTRACE is enabled. Fixes game becoming unresponsive on Windows after 'mallocleak' dumps data. Any other tool that uses stacktraces could become 700 - 1000x slower after any stack symbolication also. #rb Robert.Manuszewski #tests stack tracing / symbolication with mallocleak on windows. Change 3068119 on 2016/07/28 by Marcus.Wassmer Fix MallocLeakProxy deadlock #rb Robert.Manuszewski #tests mallocleak start/stop/dump on windows Change 3067752 on 2016/07/27 by Michael.Noland Engine: Refactored FPS chart creation to make it modular so many performance data consumers can be active at once, allowing greater flexibility and decoupling game analytics from FPS chart exec commands - IPerformanceDataConsumer is an interface for all consumers of per-frame performance tracking data, and instances can be registered/unregisted with the engine using AddPerformanceDataConsumer/RemovePerformanceDataConsumer - The implementation of the 'standard' frame time and hitch histogram tracking is FPerformanceTrackingChart, while the per-frame logging .csv is split into a separate FFineGrainedPerformanceTracker class. - The calculation of frame time breakdowns and hitch detection now occur as long as at least one IPerformanceDataConsumer is registered - Internally the code has been cleaned up a bit to use FHistogram for data storage instead of custom binning code Upgrade Notes: - DumpFPSChartAnalytics has been removed, games that used it should switch to creating their own instance of FPerformanceTrackingChart and call DumpChartToAnalyticsParams on it directly - In general games should have no reason to programmatically call GEngine->StartFPSChart anymore, instead creating their own instance (this prevents conflicts when using the engine console commands) - HTML output for stopfpschart is now generated to a single file rather than two duplicate files (using both map name and capture time as part of the file name) - Removed PauseFPSChart, IsFPSChartActive, and GetFPSChartBoundByFrameCounts to reflect that the GEngine instances aren't meant for external use (Start/Stop are left public for automated testing that wants to use them to do logging, but may also be moved private in the future) Paragon: - Updated to use a separate FPerformanceTrackingChart for gameplay versus in-game menus and removed the duplicated code and GameThreadHitchChart event - Removed partial USE_SERVER_PERF_COUNTERS code in ChartCreation.cpp, splitting it out into a separate observer, which currently lives in Paragon but will be moved to shared code in a separate checkin. The code was only useful in the first place along with other Paragon-side code that was consuming it. #rb dmitry.rekman #codereview bob.tellez, peter.knepley, andrew.grant, john.mauney #review-3067607 @Dmitry.Rekman, @Bob.Tellez #tests Tested manual startfpschart/stopfpschart as well as Paragon match analytics via golden path solo vs AI Change 3067654 on 2016/07/27 by Michael.Noland FString - Fix divide overload path concatenation for empty paths since there are several places in the engine that expect using that doing { path / "" } will append a / onto path. #rb steve.robb #jira UE-31959 [duplicating CL# 3039827] #tests Tried moving a folder in the editor Change 3067644 on 2016/07/27 by Aaron.McLeran OR-24537 Looping audio sometimes persists in Agora Adding stopping sounds if audio component is destroyed while playing a looping sound #rb jeff.campeau #tests audio component stops looping sound if audio component is destroyed prematurely Change 3067560 on 2016/07/27 by Aaron.McLeran OR-26322 Client Hang in FXAudio2EffectsManager::SetReverbEffectParameters - Only applying reverb parameters if they've changed from previous reverb params to avoid unnecessarily spamming the XAudio2 API call - using xaudio2 operation sets to ensure that voice and effect params are executing in sequence - only calling destroy voice after all voice and effect changes have been committed to avoid destroy voice interfering with those commands - Don't call EnsureCompletion on pending async tasks on teardown #rb Jeff.Campeau #tests play paragon with change, notice no changes to audio behavior, no crashes. Created testmap with several reverb zones and demonstrated reverb effect transitions Change 3067420 on 2016/07/27 by jason.bestimt #ORION_MAIN - Merge 29.2/30 @ CL 3067312 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3067400 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3067316 on 2016/07/27 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3065602 #RB:none #Tests:none [CodeReviewed]: matt.schembari #R@BOMERGE-SOURCE: CL 3067079 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3067025 on 2016/07/27 by Michael.Noland Core: Corrected the initial value of FLightweightTimeGuard::FrameTimeThresholdMS to be in MS rather than seconds and did a few coding standards fixes #rb none #tests Compiled Change 3067020 on 2016/07/27 by Michael.Noland Core: Various improvements to FHistogram and split it out into separate files - Added the ability to use a separate thresholding key than the actual measurement value being recorded (e.g., when accumulating frame time spent in a chart keyed on framerate) - Added O(1) getters for total sample counts and sum of all measurements - Removed encapsulation-breaking SetBinCountByIndex / SetBinSumByIndex - Added support for specifying explicit histogram bucket thresholds #rb dmitry.rekman #tests Tested with another pending changelist that moves FPS charts to use FHistogram for the underlying storage Change 3066681 on 2016/07/27 by Frank.Gigliotti Camera anim field of view fix; * The FOV is now reset on the PlayerCameraManager camera actor when it's initialized. This fixes cases of stale FOV values after playing camera anims that don't end with the FOV at it's base value. * Base FOV can now be edited in the CameraAnim properties. This allows you to specify what the FOV keys are relative to. Previously it was always using a base FOV of 90 degrees. #RB None #CodeReview Jeff.Farris #Tests Multiple camera animations in PIE Change 3066508 on 2016/07/27 by Lina.Halper Smartname guid will be discarded during cooking, and once it's cooked, it's trusted to have correct name. #code review:Martin.Wilson, Benn.Gallagher #rb: Martin.Wilson #tests: cooked test map, run test map, PIE, saving content, loading standalone game Change 3066246 on 2016/07/27 by Jason.Bestimt #R@BOMERGE-AUTHOR: andrew.grant Fix for non-unity error #rb none #tests compiled #R@BOMERGE-SOURCE: CL 3066245 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3066167 on 2016/07/27 by Benn.Gallagher Fixed clothing corruption seen on Twinblast after mesh updates. We were copying a u32 index buffer into a multisize container but CopyIndexBuffer doesn't change the data size when copying - only when rebuilding. #rb Ori.Cohen #tests Editor, PIE, Applying clothing to characters. Change 3065868 on 2016/07/27 by Michael.Noland Blueprints: Fixing non-editor build (missing WITH_EDITOR) #rb none #tests Compiled PS4 Change 3065749 on 2016/07/26 by Michael.Noland Blueprints: Prevent a crash on load in RemoveNodeAndPromoteChildren when removing a corrupted SCS node if it has no parent link (the children are moved to the root node instead) #codereview mike.beach, marc.audy #tests Loaded and recovered a corrupted Blueprint on Cameron's machine #rb Phillip.Kavan Change 3065706 on 2016/07/26 by Josh.Markiewicz #UE4 - changed default values for bLogoutOnSessionTimeout for reservation beacons - fixed non shipping cmd line override to be correct #rb none #codereview andrew.grant, paul.moore #tests none Change 3065359 on 2016/07/26 by Rob.Cannaday Limit external id querying to 100 ids per call. The backend currently enforces this and is returning an error when we exceed this limit. Break up calls in batches of 100 ids. #jira OR-20674 #rb ian.fox #tests login to front end with PC, PS4. forced tests to simulate > 100 requests. Change 3065197 on 2016/07/26 by Bart.Bressler Change how PS4 sessions work: - We now will only try to join somebody's PS4 session only if we accepted an invite from the PS4 system software. This means that an MCP party can have members in different PS4 sessions. - Refactored a lot of the delegates in UOrionParty to lambdas to try to make it more readable - Added comments, other misc. code cleanup. #rb josh.markiewicz, sam.zamani, rob.cannaday #tests created cross play parties with multiple pc + ps4 players #jira OR-20332 Change 3065158 on 2016/07/26 by Lina.Halper Fix the guid keep generated by adding to the database. - This caused worse problem with non-deterministic cooking - This doesn't fix UE-33454 for 100%, but this was the main reason why this was so visible #rb: Martin.Wilson #jira: UE-33772, UE-33454 #tests: cooked AI_Test map, editor rename curves Change 3064735 on 2016/07/26 by Dmitry.Rekman Linux: added WebRTC libs. - Compiled against glibc 2.12 / CentOS 6.x environment (see howto in a separate doc). #rb none #tests Tested OrionClient in Dev-General, and UE4Editor in Dev-Platform. (Edigrating 3063715 from //UE4/Dev-Platform/... to //Orion/Dev-General/...) Change 3064727 on 2016/07/26 by Dmitry.Rekman Fix crash on cooker exit (UE-33583). - Global/static tickable objects could outlive the collection and trigger asserts when removing themselves from it. #rb none #tests Compiled and ran Linux server and Linux client. (Edigrating 3058779 from //UE4/Dev-Platform/... to //Orion/Dev-General/...) Change 3064725 on 2016/07/26 by Dmitry.Rekman Linux: use libc++ instead of libstdc++. - Needed to solve problems with third-party C++ libraries (e.g. WebRTC). - Bundled libc++ 3.8.1 (TPS cleared). - Turned off ICU compilation (needs recompile against libc++). - Some libraries (e.g. FBX sdk) still need libstdc++, so in practice it is going to be a mix. #rb none #tests Built and ran a number of Linux targets. (Edigrating 3057152 from //UE4/Dev-Platform/... to //Orion/Dev-General/...) Change 3064572 on 2016/07/26 by Jason.Bestimt #R@BOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 29.2 @ CL 3064545 #RB:none #Tests:none #R@BOMERGE-SOURCE: CL 3064569 in //Orion/Main/... #R@BOMERGE-BOT: ORION (Main -> Dev-General) Change 3064523 on 2016/07/26 by Jon.Lietz Fixing it so gameplay effects with execution none will no longer keep the BP in a dirty state. Only call EmptyArray() on CalculationModifiersArrayPropHandle if it has any elements. #RB none #tests BP compiles and stays not dirty #codereview dave.ratti@epicgames.com [CL 3111290 by Andrew Grant in Main branch]
2016-09-01 21:20:38 -04:00
}
}
void FPakFile::LoadIndex(FArchive* Reader)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
if (CachedTotalSize < (Info.IndexOffset + Info.IndexSize))
{
UE_LOG(LogPakFile, Fatal, TEXT("Corrupted index offset in pak file."));
}
else
{
// Load index into memory first.
Reader->Seek(Info.IndexOffset);
TArray<uint8> IndexData;
IndexData.AddUninitialized(Info.IndexSize);
Reader->Serialize(IndexData.GetData(), Info.IndexSize);
FMemoryReader IndexReader(IndexData);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3386108) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3345860 on 2017/03/14 by Daniel.Lamb Fixed crash when building DLC #test Cook paragon. Change 3347324 on 2017/03/15 by Gil.Gribb UE4 - Removed old code relating to FAsyncArchive, FAsyncIOSubsystemBase and package level compression. The editor now uses the lowest levels on the new async IO scheme. Change 3347331 on 2017/03/15 by Robert.Manuszewski Fix for a crash caused by GC killing BP class (due to no strong references) but its CDO is being kept alive because it was in the same cluster as the class and was not marked as pending kill. #jira UE-42732 Change 3347371 on 2017/03/15 by Graeme.Thornton Fix for runtime asset cache not invalidating files with an outdated version number Change 3349161 on 2017/03/16 by Steve.Robb Generated UFUNCTION FNames no longer exported. Misc refactors of code generation. Change 3349167 on 2017/03/16 by Steve.Robb Unused TBoolConstant removed (the more general TIntegralConstant should be used instead). Change 3349274 on 2017/03/16 by Gil.Gribb UE4 - Fix loading a package that is already loaded. Change 3349534 on 2017/03/16 by Ben.Marsh UBT: Check that the SN-DBS service is running before attempting to use it. Change 3349612 on 2017/03/16 by Gil.Gribb UE4 - Increased estimate of summary size. Change 3350021 on 2017/03/16 by Gil.Gribb UE4 - Fixed crash in signature checks when mounting pak files. Change 3350052 on 2017/03/16 by Ben.Marsh Remove invalid characters from macro names before passing as macro values. Prevents compile errors for projects which have apostrophes in the name. Change 3350360 on 2017/03/16 by Ben.Marsh UAT: Fix non-threadsafe access of ExeToTimeInMs when spawning external processes. Change 3351670 on 2017/03/17 by Ben.Marsh UBT: Ignore all default libraries when creating import libs. Sometimes #pragma comment(lib, ...) directives can add force additional libraries onto the linker/librarian command line. We don't want or need these included when generating import libraries, but they can cause errors due to search paths not being able to find them. Change 3352289 on 2017/03/17 by Ben.Marsh Fix issues working with > 2GB archives caused by truncation of the return value from FArchive::Tell() down to 32-bits. Change 3352390 on 2017/03/17 by Ben.Marsh Remove unused/out of date binaries for CrashReporter. Change 3352392 on 2017/03/17 by Ben.Marsh Remove UnrealDocTool binaries. This is distributed through a Visual Studio plugin now. Change 3352410 on 2017/03/17 by Ben.Marsh Remove P4ChangeReporter. I don't believe this is used any more. Change 3352450 on 2017/03/17 by Ben.Marsh Disable including CrashReporter by default when packaging projects. This is only useful with a CrashReporter backend set up, which only usually applies to Epic internal projects. Change 3352455 on 2017/03/17 by Ben.Marsh Remove RegisterPII and TranslatedWordsCountEstimator executables. Don't believe these are used any more. Change 3352940 on 2017/03/17 by Wes.Hunt Update CRP to not send Slack queue size updates unless the waiting time is greater than 1 minute. #codereview: jin.zhang Change 3353658 on 2017/03/20 by Steve.Robb Fix for crash when importing a BP which has a populated TMap with an enum class key. Change 3354056 on 2017/03/20 by Steve.Robb TAssetPtr<T> can now be constructed from a nullptr without a full definition of T. Change 3356111 on 2017/03/21 by Graeme.Thornton Fix for UE-34131 - Support double and fname stat types in UFE stat export to CSV #jira UE-34131 Change 3358584 on 2017/03/22 by Daniel.Lamb Fixed the garbage collection keep flags when cleaning the sandbox for iterative cooking. #test Cook shootergame Change 3360379 on 2017/03/23 by Gil.Gribb UE4 - Avoid adding a linker annotation if it actually hasn't changed. Improves ConditionalBeginDestroy performance. Change 3360623 on 2017/03/23 by Gil.Gribb UE4 - Change from MarcA to avoid a redudnant removal of PrimitiveComponent from the streaming managers during ConditionalBeginDestroy. Change 3360627 on 2017/03/23 by Gil.Gribb UE4 - Optimized UObject hash tables for speed and space. Change 3361183 on 2017/03/23 by Gil.Gribb UE4 - Fixed change to NotifyPrimitiveDetached so that it works in the editor. Change 3361906 on 2017/03/23 by Steve.Robb Fix for a bad hint index when instantiating map property subobjects when the defaults has fewer but non-zero elements. #jira UE-43272 Change 3362839 on 2017/03/24 by Gil.Gribb UE4 - Fixed hash table lock optimization. Change 3367348 on 2017/03/28 by Robert.Manuszewski Making sure streamed-in SoundWaves get added to GC clusters. Change 3367386 on 2017/03/28 by Ben.Marsh EC: Pass the Semaphores property from a build type as a parameter to new build jobs. Change 3367422 on 2017/03/28 by Ben.Marsh EC: Allow limiting the number of scheduled jobs that will be automatically run at a particular time. Each build type can have a 'Semaphores' property in the branch settings file, which will be copied to newly created jobs. Before scheduling new jobs, EC is queried for the 'Semaphores' property on any running jobs, and build types with existing semaphores will be skipped. Does not prevent jobs from being run manually. Change 3367469 on 2017/03/28 by Ben.Marsh EC: Prevent multiple incremental jobs running at once. Change 3367640 on 2017/03/28 by Ben.Marsh Plugins: Add an optional EngineVersion field back into the plugin descriptor. If set, the engine will warn if the plugin is not compatible with the current engine version. Plugins will set this field by default when packaging; pass -Unversioned to override. Change 3367836 on 2017/03/28 by Uriel.Doyon Improved handled of references in the streaming manager Change 3369354 on 2017/03/29 by Graeme.Thornton Added AES encrypt/decrypt functions that take a byte array for the key Change 3369804 on 2017/03/29 by Ben.Marsh Remove incorrect "EngineVersion" settings from plugin descriptors. Change 3370462 on 2017/03/29 by Ben.Marsh Editor: Install Visual Studio 2017 by default, instead of Visual Studio 2015. Changed to use ExecElevatedProcess() to prevent installer failing to run if the current user is not already an administrator. #jira UE-43467 Change 3371598 on 2017/03/30 by Ben.Marsh UBT: Fix message for missing toolchain in VS2017. Change 3372827 on 2017/03/30 by Ben.Marsh BuildGraph: Output an error at the end of each step if any previous build products have been modified. Change 3372947 on 2017/03/30 by Ben.Marsh [Merge] Always add the host editor platform as supported in an installed build. Not doing so prevents the build platform being registered in UBT, which prevents doing any platform-specific staging operations in UAT. Change 3372958 on 2017/03/30 by Ben.Marsh [Merge] Simplify log output for cooks. Suppress additional timestamps from the editor when running through UAT. Change 3372981 on 2017/03/30 by Ben.Marsh [Merge] Modular game fixes for UAT * Store list of executable names from the receipts instead of generating them from Target/Platform/Config/Architecture combination * Get full list of staged executables from receipts instead of assuming only non-code projects are in Engine * Always pass short project name as Bootstrap argument, so that modular game exe knows which project to start Change 3373024 on 2017/03/30 by Ben.Marsh [Merge] Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep. Change 3373041 on 2017/03/30 by Ben.Marsh [Merge] Added UAT script to replace assets with another source Renamed ReplaceAssetsCommandlet to GenerateAssetsManifest as it now outputs a list of files and has nothing specific about replacing files Change 3373052 on 2017/03/30 by Ben.Marsh [Merge] Changed CopyUsingDistillFileSet command so that it can use a pre-existing manifest file instead of running commandlet Change 3373092 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash attempting to load cooked static mesh in editor Change 3373112 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash caused by loading cooked StaticMesh in editor that didn't have any SourceModels Change 3373132 on 2017/03/30 by Ben.Marsh [Merge] Added Additional Maps that are always cooked to the GenerateDistillFileSetsCommandlet Change 3373138 on 2017/03/30 by Ben.Marsh [Merge] Fixed code issue with playback of cooked SoundCues Skip over code using editor only data when editor data has been stripped Change 3373143 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash when attempting to open multiple cooked assets Change 3373156 on 2017/03/30 by Ben.Marsh [Merge] Added commandlet to replace game assets with those from another source (intended for cooked asset replacement) Change 3373161 on 2017/03/30 by Ben.Marsh [Merge] Prevented crash by not attempting to Load Mips again if a package has cooked data Change 3373168 on 2017/03/30 by Ben.Marsh [Merge] Fix output path for DLC pak file, so it can be discovered by the engine and automatically mounted (and to stop it colliding with the main game pak file). Change 3373204 on 2017/03/30 by Ben.Marsh [Merge] Fix crash when switching levels in PIE, due to bulk data already having been discarded for cooked assets. Cooking sets BULKDATA_SingleUse for textures, but PIEing needs to keep bulk data around. Change 3373209 on 2017/03/30 by Ben.Marsh [Merge] Fix missing material in mod editor for cooked assets. Change 3373388 on 2017/03/30 by Ben.Marsh [Merge] Various improvements to the plugin browser and new plugin wizard from Robo Recall. Change 3374200 on 2017/03/31 by Ben.Marsh [Merge] Latest OdinEditor plugin from //Odin/Main, to fix build failures. Re-made change to OdinUnrealEdEngine to remove dependencies on analytics. Change 3374279 on 2017/03/31 by Ben.Marsh PR #3441: Invalid JSON in FeaturePacks (Contributed by projectgheist) Change 3374331 on 2017/03/31 by Ben.Marsh UBT: Disable warning pragmas on Mono; not supported on current compiler. #jira UE-43451 Change 3375108 on 2017/03/31 by Ben.Marsh Removing another plugin EngineVersion property. Change 3375126 on 2017/03/31 by Ben.Marsh Fix incorrect executable paths being generated for Windows. Change 3375159 on 2017/03/31 by Graeme.Thornton Pak Index Encryption - Added "-encryptindex" option to unrealpak which will encrypt the pak index, making the pak file unreadable without the associated decryption key - Added "-encryptpakindex" option to UAT to force on index encryption - Added "bEncryptPakIndex" setting to project packaging settings so pak encryption can be controlled via the editor Change 3375197 on 2017/03/31 by Graeme.Thornton Enable pak index encryption in shootergame Change 3375377 on 2017/03/31 by Ben.Marsh Add build node to submit updated UnrealPak binaries for Win64, Mac and Linux. Currently has to be run via a custom build on EC, with the target set to "Submit UnrealPak Binaries". Change 3376418 on 2017/04/03 by Ben.Marsh BuildGraph: Always clear the cached node state when running locally without having to manually specify the -ClearHistory argument. The -Resume argument allows the previous behavior of continuing a previous build. Change 3376447 on 2017/04/03 by Ben.Marsh Build: Remove some unused stream settings Change 3376469 on 2017/04/03 by Ben.Marsh Build: Add a customizable field for the script to use for custom builds in every branch. Change 3376654 on 2017/04/03 by Ben.Marsh Add a fatal error message containing the module with an outstanding reference when trying to unload it. #jira UE-42423 Change 3376747 on 2017/04/03 by Gil.Gribb UE4 - Fixed crash relating to FGenericAsyncReadFileHandle when not using the EDL. Change 3377173 on 2017/04/03 by Ben.Marsh Make sure callstacks are written to stdout following a crash on a background thread. Change 3377183 on 2017/04/03 by Ben.Marsh Removing support for building VS2013 targets. Ability to generate VS2013 project files is still allowed, but unsupported (via the -2013unsupported command line argument). Change 3377280 on 2017/04/03 by Ben.Marsh Build: Post UGS badges for all UE4 development streams, with the project set to $(Branch)/... Change 3377311 on 2017/04/03 by Ben.Marsh Build: Set the 'Semaphores' parameter for any jobs started from a schedule. Change 3377326 on 2017/04/03 by Ben.Marsh UGS: Show badges which match an entire subtree if the project field ends with "...". Change 3377392 on 2017/04/03 by Ben.Marsh Add badges to UE4/Main and UE4/Release streams, and change the names of the builds in development streams to distinguish them. Change 3377895 on 2017/04/03 by Ben.Marsh EC: Send notification emails whenever UAT fails to compile. Change 3377923 on 2017/04/03 by Ben.Marsh Build: Use a different semaphore for the common editors build target to the incremental compile build target. Change 3378297 on 2017/04/04 by Graeme.Thornton Fix incorrect generation of UE_ENGINE_DIRECTORY in UBT Change 3378301 on 2017/04/04 by Ben.Marsh UBT: Try enabling bAdaptiveUnityDisablesPCH by default, to reduce the number of build failures we see due to missing includes. Change 3378460 on 2017/04/04 by Graeme.Thornton Remove dependency preloading system from sync and async loading paths Change 3378535 on 2017/04/04 by Robert.Manuszewski Fix for audio crash when launching Ocean PIE after removing the audio chunk allocation in CL #3347324 #jira UE-43544 Change 3378575 on 2017/04/04 by Robert.Manuszewski Making sure actor clusters are not created in non-cooked builds #jira UE-43617 #jira UE-43614 Change 3378589 on 2017/04/04 by Robert.Manuszewski Disabling debug GC cluster logging #jira UE-43617 Change 3379118 on 2017/04/04 by Robert.Manuszewski Disabling actor clustering by default, keeping it on in Orion and Ocean Change 3379815 on 2017/04/04 by Ben.Marsh Revert change to derive executable names from target receipts. While a better solution than making them up, Android relies on having the base executable names for supporting multiple architectures. Change 3380811 on 2017/04/05 by Gil.Gribb UE4 - Put the special boot order things into baseengine.ini so that licensees and games can add to it. Change 3383313 on 2017/04/06 by Uriel.Doyon Integrated CL 3372436 3372765 3373272 from Dev-Rendering #JIRA UE-43669 Change 3383531 on 2017/04/06 by Ben.Marsh UGS: Ignore failures when querying whether paths exist. Permissions can cause this folder to fail, even if it will succeed at a parent directory. Change 3383786 on 2017/04/06 by Ben.Zeigler Back out changelist 3382694 and replace with CL #3383757 from bob.tellez: Fix memory stomping issue caused by removing a FFortProfileSynchronizeRequest from SynchronizeRequests in UFortRegisteredPlayerInfo::UpdateSynchronizeRequest before SynchronizeProfile had finished executing Change 3385089 on 2017/04/07 by Gil.Gribb UE4 - Critical. Fixed memory leak in pak precacher. [CL 3386123 by Ben Marsh in Main branch]
2017-04-10 11:00:33 -04:00
// Decrypt if necessary
if (Info.bEncryptedIndex)
{
DecryptData(IndexData.GetData(), Info.IndexSize, Info.EncryptionKeyGuid);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3386108) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3345860 on 2017/03/14 by Daniel.Lamb Fixed crash when building DLC #test Cook paragon. Change 3347324 on 2017/03/15 by Gil.Gribb UE4 - Removed old code relating to FAsyncArchive, FAsyncIOSubsystemBase and package level compression. The editor now uses the lowest levels on the new async IO scheme. Change 3347331 on 2017/03/15 by Robert.Manuszewski Fix for a crash caused by GC killing BP class (due to no strong references) but its CDO is being kept alive because it was in the same cluster as the class and was not marked as pending kill. #jira UE-42732 Change 3347371 on 2017/03/15 by Graeme.Thornton Fix for runtime asset cache not invalidating files with an outdated version number Change 3349161 on 2017/03/16 by Steve.Robb Generated UFUNCTION FNames no longer exported. Misc refactors of code generation. Change 3349167 on 2017/03/16 by Steve.Robb Unused TBoolConstant removed (the more general TIntegralConstant should be used instead). Change 3349274 on 2017/03/16 by Gil.Gribb UE4 - Fix loading a package that is already loaded. Change 3349534 on 2017/03/16 by Ben.Marsh UBT: Check that the SN-DBS service is running before attempting to use it. Change 3349612 on 2017/03/16 by Gil.Gribb UE4 - Increased estimate of summary size. Change 3350021 on 2017/03/16 by Gil.Gribb UE4 - Fixed crash in signature checks when mounting pak files. Change 3350052 on 2017/03/16 by Ben.Marsh Remove invalid characters from macro names before passing as macro values. Prevents compile errors for projects which have apostrophes in the name. Change 3350360 on 2017/03/16 by Ben.Marsh UAT: Fix non-threadsafe access of ExeToTimeInMs when spawning external processes. Change 3351670 on 2017/03/17 by Ben.Marsh UBT: Ignore all default libraries when creating import libs. Sometimes #pragma comment(lib, ...) directives can add force additional libraries onto the linker/librarian command line. We don't want or need these included when generating import libraries, but they can cause errors due to search paths not being able to find them. Change 3352289 on 2017/03/17 by Ben.Marsh Fix issues working with > 2GB archives caused by truncation of the return value from FArchive::Tell() down to 32-bits. Change 3352390 on 2017/03/17 by Ben.Marsh Remove unused/out of date binaries for CrashReporter. Change 3352392 on 2017/03/17 by Ben.Marsh Remove UnrealDocTool binaries. This is distributed through a Visual Studio plugin now. Change 3352410 on 2017/03/17 by Ben.Marsh Remove P4ChangeReporter. I don't believe this is used any more. Change 3352450 on 2017/03/17 by Ben.Marsh Disable including CrashReporter by default when packaging projects. This is only useful with a CrashReporter backend set up, which only usually applies to Epic internal projects. Change 3352455 on 2017/03/17 by Ben.Marsh Remove RegisterPII and TranslatedWordsCountEstimator executables. Don't believe these are used any more. Change 3352940 on 2017/03/17 by Wes.Hunt Update CRP to not send Slack queue size updates unless the waiting time is greater than 1 minute. #codereview: jin.zhang Change 3353658 on 2017/03/20 by Steve.Robb Fix for crash when importing a BP which has a populated TMap with an enum class key. Change 3354056 on 2017/03/20 by Steve.Robb TAssetPtr<T> can now be constructed from a nullptr without a full definition of T. Change 3356111 on 2017/03/21 by Graeme.Thornton Fix for UE-34131 - Support double and fname stat types in UFE stat export to CSV #jira UE-34131 Change 3358584 on 2017/03/22 by Daniel.Lamb Fixed the garbage collection keep flags when cleaning the sandbox for iterative cooking. #test Cook shootergame Change 3360379 on 2017/03/23 by Gil.Gribb UE4 - Avoid adding a linker annotation if it actually hasn't changed. Improves ConditionalBeginDestroy performance. Change 3360623 on 2017/03/23 by Gil.Gribb UE4 - Change from MarcA to avoid a redudnant removal of PrimitiveComponent from the streaming managers during ConditionalBeginDestroy. Change 3360627 on 2017/03/23 by Gil.Gribb UE4 - Optimized UObject hash tables for speed and space. Change 3361183 on 2017/03/23 by Gil.Gribb UE4 - Fixed change to NotifyPrimitiveDetached so that it works in the editor. Change 3361906 on 2017/03/23 by Steve.Robb Fix for a bad hint index when instantiating map property subobjects when the defaults has fewer but non-zero elements. #jira UE-43272 Change 3362839 on 2017/03/24 by Gil.Gribb UE4 - Fixed hash table lock optimization. Change 3367348 on 2017/03/28 by Robert.Manuszewski Making sure streamed-in SoundWaves get added to GC clusters. Change 3367386 on 2017/03/28 by Ben.Marsh EC: Pass the Semaphores property from a build type as a parameter to new build jobs. Change 3367422 on 2017/03/28 by Ben.Marsh EC: Allow limiting the number of scheduled jobs that will be automatically run at a particular time. Each build type can have a 'Semaphores' property in the branch settings file, which will be copied to newly created jobs. Before scheduling new jobs, EC is queried for the 'Semaphores' property on any running jobs, and build types with existing semaphores will be skipped. Does not prevent jobs from being run manually. Change 3367469 on 2017/03/28 by Ben.Marsh EC: Prevent multiple incremental jobs running at once. Change 3367640 on 2017/03/28 by Ben.Marsh Plugins: Add an optional EngineVersion field back into the plugin descriptor. If set, the engine will warn if the plugin is not compatible with the current engine version. Plugins will set this field by default when packaging; pass -Unversioned to override. Change 3367836 on 2017/03/28 by Uriel.Doyon Improved handled of references in the streaming manager Change 3369354 on 2017/03/29 by Graeme.Thornton Added AES encrypt/decrypt functions that take a byte array for the key Change 3369804 on 2017/03/29 by Ben.Marsh Remove incorrect "EngineVersion" settings from plugin descriptors. Change 3370462 on 2017/03/29 by Ben.Marsh Editor: Install Visual Studio 2017 by default, instead of Visual Studio 2015. Changed to use ExecElevatedProcess() to prevent installer failing to run if the current user is not already an administrator. #jira UE-43467 Change 3371598 on 2017/03/30 by Ben.Marsh UBT: Fix message for missing toolchain in VS2017. Change 3372827 on 2017/03/30 by Ben.Marsh BuildGraph: Output an error at the end of each step if any previous build products have been modified. Change 3372947 on 2017/03/30 by Ben.Marsh [Merge] Always add the host editor platform as supported in an installed build. Not doing so prevents the build platform being registered in UBT, which prevents doing any platform-specific staging operations in UAT. Change 3372958 on 2017/03/30 by Ben.Marsh [Merge] Simplify log output for cooks. Suppress additional timestamps from the editor when running through UAT. Change 3372981 on 2017/03/30 by Ben.Marsh [Merge] Modular game fixes for UAT * Store list of executable names from the receipts instead of generating them from Target/Platform/Config/Architecture combination * Get full list of staged executables from receipts instead of assuming only non-code projects are in Engine * Always pass short project name as Bootstrap argument, so that modular game exe knows which project to start Change 3373024 on 2017/03/30 by Ben.Marsh [Merge] Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep. Change 3373041 on 2017/03/30 by Ben.Marsh [Merge] Added UAT script to replace assets with another source Renamed ReplaceAssetsCommandlet to GenerateAssetsManifest as it now outputs a list of files and has nothing specific about replacing files Change 3373052 on 2017/03/30 by Ben.Marsh [Merge] Changed CopyUsingDistillFileSet command so that it can use a pre-existing manifest file instead of running commandlet Change 3373092 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash attempting to load cooked static mesh in editor Change 3373112 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash caused by loading cooked StaticMesh in editor that didn't have any SourceModels Change 3373132 on 2017/03/30 by Ben.Marsh [Merge] Added Additional Maps that are always cooked to the GenerateDistillFileSetsCommandlet Change 3373138 on 2017/03/30 by Ben.Marsh [Merge] Fixed code issue with playback of cooked SoundCues Skip over code using editor only data when editor data has been stripped Change 3373143 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash when attempting to open multiple cooked assets Change 3373156 on 2017/03/30 by Ben.Marsh [Merge] Added commandlet to replace game assets with those from another source (intended for cooked asset replacement) Change 3373161 on 2017/03/30 by Ben.Marsh [Merge] Prevented crash by not attempting to Load Mips again if a package has cooked data Change 3373168 on 2017/03/30 by Ben.Marsh [Merge] Fix output path for DLC pak file, so it can be discovered by the engine and automatically mounted (and to stop it colliding with the main game pak file). Change 3373204 on 2017/03/30 by Ben.Marsh [Merge] Fix crash when switching levels in PIE, due to bulk data already having been discarded for cooked assets. Cooking sets BULKDATA_SingleUse for textures, but PIEing needs to keep bulk data around. Change 3373209 on 2017/03/30 by Ben.Marsh [Merge] Fix missing material in mod editor for cooked assets. Change 3373388 on 2017/03/30 by Ben.Marsh [Merge] Various improvements to the plugin browser and new plugin wizard from Robo Recall. Change 3374200 on 2017/03/31 by Ben.Marsh [Merge] Latest OdinEditor plugin from //Odin/Main, to fix build failures. Re-made change to OdinUnrealEdEngine to remove dependencies on analytics. Change 3374279 on 2017/03/31 by Ben.Marsh PR #3441: Invalid JSON in FeaturePacks (Contributed by projectgheist) Change 3374331 on 2017/03/31 by Ben.Marsh UBT: Disable warning pragmas on Mono; not supported on current compiler. #jira UE-43451 Change 3375108 on 2017/03/31 by Ben.Marsh Removing another plugin EngineVersion property. Change 3375126 on 2017/03/31 by Ben.Marsh Fix incorrect executable paths being generated for Windows. Change 3375159 on 2017/03/31 by Graeme.Thornton Pak Index Encryption - Added "-encryptindex" option to unrealpak which will encrypt the pak index, making the pak file unreadable without the associated decryption key - Added "-encryptpakindex" option to UAT to force on index encryption - Added "bEncryptPakIndex" setting to project packaging settings so pak encryption can be controlled via the editor Change 3375197 on 2017/03/31 by Graeme.Thornton Enable pak index encryption in shootergame Change 3375377 on 2017/03/31 by Ben.Marsh Add build node to submit updated UnrealPak binaries for Win64, Mac and Linux. Currently has to be run via a custom build on EC, with the target set to "Submit UnrealPak Binaries". Change 3376418 on 2017/04/03 by Ben.Marsh BuildGraph: Always clear the cached node state when running locally without having to manually specify the -ClearHistory argument. The -Resume argument allows the previous behavior of continuing a previous build. Change 3376447 on 2017/04/03 by Ben.Marsh Build: Remove some unused stream settings Change 3376469 on 2017/04/03 by Ben.Marsh Build: Add a customizable field for the script to use for custom builds in every branch. Change 3376654 on 2017/04/03 by Ben.Marsh Add a fatal error message containing the module with an outstanding reference when trying to unload it. #jira UE-42423 Change 3376747 on 2017/04/03 by Gil.Gribb UE4 - Fixed crash relating to FGenericAsyncReadFileHandle when not using the EDL. Change 3377173 on 2017/04/03 by Ben.Marsh Make sure callstacks are written to stdout following a crash on a background thread. Change 3377183 on 2017/04/03 by Ben.Marsh Removing support for building VS2013 targets. Ability to generate VS2013 project files is still allowed, but unsupported (via the -2013unsupported command line argument). Change 3377280 on 2017/04/03 by Ben.Marsh Build: Post UGS badges for all UE4 development streams, with the project set to $(Branch)/... Change 3377311 on 2017/04/03 by Ben.Marsh Build: Set the 'Semaphores' parameter for any jobs started from a schedule. Change 3377326 on 2017/04/03 by Ben.Marsh UGS: Show badges which match an entire subtree if the project field ends with "...". Change 3377392 on 2017/04/03 by Ben.Marsh Add badges to UE4/Main and UE4/Release streams, and change the names of the builds in development streams to distinguish them. Change 3377895 on 2017/04/03 by Ben.Marsh EC: Send notification emails whenever UAT fails to compile. Change 3377923 on 2017/04/03 by Ben.Marsh Build: Use a different semaphore for the common editors build target to the incremental compile build target. Change 3378297 on 2017/04/04 by Graeme.Thornton Fix incorrect generation of UE_ENGINE_DIRECTORY in UBT Change 3378301 on 2017/04/04 by Ben.Marsh UBT: Try enabling bAdaptiveUnityDisablesPCH by default, to reduce the number of build failures we see due to missing includes. Change 3378460 on 2017/04/04 by Graeme.Thornton Remove dependency preloading system from sync and async loading paths Change 3378535 on 2017/04/04 by Robert.Manuszewski Fix for audio crash when launching Ocean PIE after removing the audio chunk allocation in CL #3347324 #jira UE-43544 Change 3378575 on 2017/04/04 by Robert.Manuszewski Making sure actor clusters are not created in non-cooked builds #jira UE-43617 #jira UE-43614 Change 3378589 on 2017/04/04 by Robert.Manuszewski Disabling debug GC cluster logging #jira UE-43617 Change 3379118 on 2017/04/04 by Robert.Manuszewski Disabling actor clustering by default, keeping it on in Orion and Ocean Change 3379815 on 2017/04/04 by Ben.Marsh Revert change to derive executable names from target receipts. While a better solution than making them up, Android relies on having the base executable names for supporting multiple architectures. Change 3380811 on 2017/04/05 by Gil.Gribb UE4 - Put the special boot order things into baseengine.ini so that licensees and games can add to it. Change 3383313 on 2017/04/06 by Uriel.Doyon Integrated CL 3372436 3372765 3373272 from Dev-Rendering #JIRA UE-43669 Change 3383531 on 2017/04/06 by Ben.Marsh UGS: Ignore failures when querying whether paths exist. Permissions can cause this folder to fail, even if it will succeed at a parent directory. Change 3383786 on 2017/04/06 by Ben.Zeigler Back out changelist 3382694 and replace with CL #3383757 from bob.tellez: Fix memory stomping issue caused by removing a FFortProfileSynchronizeRequest from SynchronizeRequests in UFortRegisteredPlayerInfo::UpdateSynchronizeRequest before SynchronizeProfile had finished executing Change 3385089 on 2017/04/07 by Gil.Gribb UE4 - Critical. Fixed memory leak in pak precacher. [CL 3386123 by Ben Marsh in Main branch]
2017-04-10 11:00:33 -04:00
}
// Check SHA1 value.
uint8 IndexHash[20];
FSHA1::HashBuffer(IndexData.GetData(), IndexData.Num(), IndexHash);
if (FMemory::Memcmp(IndexHash, Info.IndexHash, sizeof(IndexHash)) != 0)
{
FString StoredIndexHash, ComputedIndexHash;
StoredIndexHash = TEXT("0x");
ComputedIndexHash = TEXT("0x");
for (int64 ByteIndex = 0; ByteIndex < 20; ++ByteIndex)
{
StoredIndexHash += FString::Printf(TEXT("%02X"), Info.IndexHash[ByteIndex]);
ComputedIndexHash += FString::Printf(TEXT("%02X"), IndexHash[ByteIndex]);
}
UE_LOG(LogPakFile, Log, TEXT("Corrupt pak index detected!"));
UE_LOG(LogPakFile, Log, TEXT(" Filename: %s"), *PakFilename);
UE_LOG(LogPakFile, Log, TEXT(" Encrypted: %d"), Info.bEncryptedIndex);
UE_LOG(LogPakFile, Log, TEXT(" Total Size: %d"), Reader->TotalSize());
UE_LOG(LogPakFile, Log, TEXT(" Index Offset: %d"), Info.IndexOffset);
UE_LOG(LogPakFile, Log, TEXT(" Index Size: %d"), Info.IndexSize);
UE_LOG(LogPakFile, Log, TEXT(" Stored Index Hash: %s"), *StoredIndexHash);
UE_LOG(LogPakFile, Log, TEXT(" Computed Index Hash: %s"), *ComputedIndexHash);
UE_LOG(LogPakFile, Fatal, TEXT("Corrupted index in pak file (CRC mismatch)."));
}
// Read the default mount point and all entries.
NumEntries = 0;
IndexReader << MountPoint;
IndexReader << NumEntries;
MakeDirectoryFromPath(MountPoint);
// Allocate enough memory to hold all entries (and not reallocate while they're being added to it).
Files.Empty(NumEntries);
for (int32 EntryIndex = 0; EntryIndex < NumEntries; EntryIndex++)
{
// Serialize from memory.
FPakEntry Entry;
FString Filename;
IndexReader << Filename;
Entry.Serialize(IndexReader, Info.Version);
// Add new file info.
Files.Add(Entry);
// Construct Index of all directories in pak file.
FString Path = FPaths::GetPath(Filename);
MakeDirectoryFromPath(Path);
FPakDirectory* Directory = Index.Find(Path);
if (Directory != NULL)
{
Directory->Add(FPaths::GetCleanFilename(Filename), EntryIndex);
}
else
{
FPakDirectory& NewDirectory = Index.Add(Path);
NewDirectory.Add(FPaths::GetCleanFilename(Filename), EntryIndex);
// add the parent directories up to the mount point
while (MountPoint != Path)
{
Path = Path.Left(Path.Len() - 1);
int32 Offset = 0;
if (Path.FindLastChar('/', Offset))
{
Path = Path.Left(Offset);
MakeDirectoryFromPath(Path);
if (Index.Find(Path) == NULL)
{
Index.Add(Path);
}
}
else
{
Path = MountPoint;
}
}
}
}
}
}
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
bool FPakFile::Check()
{
UE_LOG(LogPakFile, Display, TEXT("Checking pak file \"%s\". This may take a while..."), *PakFilename);
FArchive& PakReader = *GetSharedReader(NULL);
int32 ErrorCount = 0;
int32 FileCount = 0;
const bool bIncludeDeleted = true;
for (FPakFile::FFileIterator It(*this,bIncludeDeleted); It; ++It, ++FileCount)
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
{
const FPakEntry& Entry = It.Info();
if( Entry.IsDeleteRecord() )
{
UE_LOG(LogPakFile, Display, TEXT("\"%s\" Deleted."), *It.Filename());
continue;
}
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
void* FileContents = FMemory::Malloc(Entry.Size);
PakReader.Seek(Entry.Offset);
uint32 SerializedCrcTest = 0;
FPakEntry EntryInfo;
EntryInfo.Serialize(PakReader, GetInfo().Version);
if (EntryInfo != Entry)
{
UE_LOG(LogPakFile, Error, TEXT("Serialized hash mismatch for \"%s\"."), *It.Filename());
ErrorCount++;
}
PakReader.Serialize(FileContents, Entry.Size);
uint8 TestHash[20];
FSHA1::HashBuffer(FileContents, Entry.Size, TestHash);
if (FMemory::Memcmp(TestHash, Entry.Hash, sizeof(TestHash)) != 0)
{
UE_LOG(LogPakFile, Error, TEXT("Hash mismatch for \"%s\"."), *It.Filename());
ErrorCount++;
}
else
{
UE_LOG(LogPakFile, Display, TEXT("\"%s\" OK. [%s]"), *It.Filename(), *Info.GetCompressionMethod(Entry.CompressionMethodIndex).ToString());
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
}
FMemory::Free(FileContents);
}
if (ErrorCount == 0)
{
UE_LOG(LogPakFile, Display, TEXT("Pak file \"%s\" healthy, %d files checked."), *PakFilename, FileCount);
}
else
{
UE_LOG(LogPakFile, Display, TEXT("Pak file \"%s\" corrupted (%d errors out of %d files checked.)."), *PakFilename, ErrorCount, FileCount);
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3028454) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3028439 on 2016/06/27 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 28 @ CL 3028090 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3028437 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3027952 on 2016/06/26 by Jurre.deBaare - Integrating code fixes/changes from Simplygon for Normals issue on Simplygon Swarm + landscape culling - Readded landscape/volume culling for in-engine static mesh merging path - Fixed issue with r.HLOD force -1 (now stops forcing hlods) - Marked hlodcullingvolume as experimental - Added Landscape culling flag + precision level #codereview Michael.Noland #rb Michael.Noland #tests build clusters locally/cloud + landscape culling tests Change 3027702 on 2016/06/25 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3027698 #RB:none #Tests:none Change 3027312 on 2016/06/24 by Daniel.Lamb Changed the way reentry data is stored in the cooker, reduce work load by main thread, also fix issue with reentry data being used from incorrect packages. #rb Peter.Sauerbrei #test QA game launch on and cook by the book + cook on the fly paragon Change 3027165 on 2016/06/24 by Daniel.Lamb Fix compiler warnings from cvars changes. #rb none #test cook paragon Change 3026900 on 2016/06/24 by Daniel.Lamb Change the way low quality lightmap shaders are enabled / disabled as the engine can't be used in the should cache function. #rb Marcus.Wasmer #test Cook on the fly paragon #codereview Rolando.Caloca Change 3026874 on 2016/06/24 by Olaf.Piesche #jira OR-18363 fix distortion in particle macro UVs with camera movement #rb frank.fella #tests PC Editor/Game Change 3026494 on 2016/06/24 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3026460 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3026476 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3026381 on 2016/06/24 by Graeme.Thornton Strip particle modules, emitters and lodlevels from cooked server data. Saves ~10mb of runtime memory on Paragon #rb simon.tovey #codereview dmitry.rekman #tests pc cooked client/server, golden path Change 3025760 on 2016/06/23 by jason.bestimt #ORION_MAIN - Merge 28 @ CL 3025687 #RB:none #tests:none #ROBOMERGE-SOURCE: CL 3025709 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword.uasset - can't integrate exclusive file already opened //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Sword/Meshes/sword_Skeleton.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3025661 on 2016/06/23 by Mieszko.Zielinski Added a feature to PathfollowingComponent allowing it to identify when it starts following a navigation link #UE4 #rb Lukasz.Furman #test golden path Change 3025359 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #online,externalui,ps4 - expose access to reset cookies before invoking embedded web browser - fixed not capturing resulting Url when PS4 browser is closed #rb none #tests ps4 #ROBOMERGE-SOURCE: CL 3025356 in //Orion/Release-28/... via CL 3025358 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3025184 on 2016/06/23 by Lina.Halper Fix crash with morphtargets #jira: OR-24257 #rb: Rolando.Caloca #tests: switching mesh with different morphtargets in editor Change 3024714 on 2016/06/23 by Lukasz.Furman added vlog extension to visual debugger tool, added object whitelist to vlog to include selected minion data in games started with -LogBotGame param #rb Mieszko.Zielinski #tests server game with and without LogBotGame cmdline Change 3024709 on 2016/06/23 by Daniel.Lamb Added support for async save when saving seperate bulk data file. Added mb saved to cooking package stats. #rb Andrew.Grant,Wes.Hunt #test Cook Paragon Change 3024674 on 2016/06/23 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani Merging //Orion/Release-28 to Main (//Orion/Main) #online,identity,ps4 - add psplus flag to online account after privilege check #rb none #tests ps4 login flow #ROBOMERGE-SOURCE: CL 3024672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3024510 on 2016/06/23 by Graeme.Thornton Added more info to the dumpparticlesystems exec command output #rb simon.tovey #tests cooked pc client, golden path Change 3024504 on 2016/06/23 by Graeme.Thornton Asset registry memory optimisation - make sure all dependency node link arrays are sized exactly as they need to be (saves ~1mb) #rb robert.manuszewski #tests windows cooked client, golden path Change 3024213 on 2016/06/22 by Ryan.Gerleve Handle a rare case in replays where the spectator controller is null but we still find a valid NetGUID for it. Added an ensure before a check that would fail in this case so we'll know if it happens again. #tests replays #rb john.pollard Change 3024127 on 2016/06/22 by John.Pollard Bulk merge using Dev-Networking_->_Dev-General_(Orion) 3002989 Add ability to skip missing/changed properties in FFastArraySerializer 3003072 Fix crash related to new replay backwards compatibility changes 3008097 Renaming CompatibleReplayout to NetFieldExportGroup preparing to unify ability to use FNetFieldExportGroup for both RepLayout and FClassNetCache 3009684 Added ability to use FNetFieldExportGroups for FClassNetCache as well as FRepLayout * Adds ability to track missing/changed custom delta properties names * Adds ability to track missing/changed RPC's 3013455 Add ability to skip over RPC parameters that have changes/missing in replays for backwards compatibility * We now mark FClassNetCache properties as bIncompatible so we don't spam forever when they are out of date * No longer factor in parameters when building checksum for RPC's * Save FNetFieldExport handle for FClassNetCache fields * Use WriteIntWrapped when saving FClassNetCache fields FNetFieldExport handles (and use NetFieldExportGroup->NetFieldExports.Num() to determine max value) * Lots of cleanup and sanity checking improvements 3018078 Optimize replay checkpoints * Share work that was already done during normal replication, and re-use this data to remove the need to compare any checkpoint properties * When saving a checkpoint, we no longer create a new connection and new channels, instead we re-use the existing channels, and added the ability to make this a transient operation * To make custom delta serialize properties work, we compare against the CDO state instead of current state when saving out a checkpoint 3021196 Fix issue with Fast tarray exporting package map info during checkpoints * Add ability to save and restore package map ack status * Save package map ack status before saving checkpoint, and then restore it back afterwards, this will then allow the stream that writes afterward to re-export anything that was new in the checkpoint * No longer queue up reliable bunches on ack list for internal ack connections 3024033 Prune the cached change list before using when saving out checkpoints * Fixes issues when saving checkpoint, and the live properties change array size, which throws everything off when it comes time to use the LifetimeChangelist 3024034 Don't close channels when saving checkpoints, fixes issue where it creates a bunch with bOpen/bClose (because we're forcing all SendBunches to re-open channels), which throws off the stream #rb RyanG #tests Replays Change 3024021 on 2016/06/22 by Dmitry.Rekman Fix PS4 build. #rb Michael.Noland #tests none #codereview Michael.Noland, Dan.Youhon, Sammy.James Change 3023734 on 2016/06/22 by Lukasz.Furman added replication for input events and tool state for both gameplay debugger categories and extensions #ue4 #rb Mieszko.Zielinski #tests PIE, server game Change 3023708 on 2016/06/22 by Dmitry.Rekman Add a separate macro for a poison malloc proxy usage. #rb Michael.Noland #codereview Michael.Noland, Gil.Gribb #tests Compiled OrionServer-Linux-Debug, ran it Change 3023670 on 2016/06/22 by Nick.Darnell Home screen - Fixing safezones on the homescreen. Adding a scale option to the XP_Fill widget. Adding better animations to the tiles. Showing subtitles again. Hero XP summary widget now takes you to that hero. #rb none #tests PIE Change 3023632 on 2016/06/22 by Dmitry.Rekman Fix incorrect matching condition in comments. #rb none #tests Compiled OrionServer-Linux-Debug #codereview Michael.Noland Change 3023475 on 2016/06/22 by Rolando.Caloca O - Back out changelist 3022847 as it broke SSS on PC #rb none #tests re-run editor on PC Change 3023178 on 2016/06/22 by Michael.Noland Engine: Added system memory and % of time spent hitching to analytics #rb bob.tellez #tests Tested a match in Paragon Change 3022963 on 2016/06/22 by Mieszko.Zielinski Fixed a subtle navigation repathing bug #UE4 While repathing to a location, rather than an actor, the navigation query used path's end while it should be using the original query's EndLocation. #rb Lukasz.Furman #test golden path Change 3022865 on 2016/06/22 by David.Ratti gameplay cue editor: remove "GameplayCue_" prefix from default GameplayCueNotify filename in default ability system projects #rb none #tests ability system sample project Change 3022847 on 2016/06/22 by Rolando.Caloca O - Remove checkerboard SSS rendering and recombine post process pass when SSS not enabled #rb Marcus.Wassmer #codereview Marcus.Wassmer, Brian.Karis #tests Load Agora_P, check perf, toggle r.SSS.Quality 1/0, check characters with skin Change 3022804 on 2016/06/22 by Mieszko.Zielinski Fixed AIController clearing out CachedGameplayTasksComponent on UnPosses, even if Pawn was not the CachedGameplayTasksComponent's owner #UE4 Also, made running BT not clearing info in BB if AI's current BB is compatible with the one required by BT #rb Lukasz.Furman #test golden path Change 3022674 on 2016/06/22 by Robert.Manuszewski Reimplementing CL #2993969 (Dev-Blueprints) by Maciej.Mroz: UE-30729 Crash in Native Orion when selecting Sword or Tomahawk Clear AsyncLoading in subobjects. #jira OR-23997 #rb me #tests Golden path in editor build, selecting Venus Change 3022405 on 2016/06/21 by Ryan.Gerleve Fix for OR-23948, crash with death cam enabled. Use a weak pointer to store the viewer on the DemoNetDriver and update it when the game player controller is received. #rb john.pollard #tests bug repro Change 3022387 on 2016/06/21 by Ryan.Gerleve Added the ability to disable ticking of individual worlds. #tests golden path #rb john.pollard #codereview marc.audy Change 3022312 on 2016/06/21 by Nick.Darnell Home Screen - Adding a max aspect ratio lock to SBox, may need some more fine tuning math may still be a bit pants in some cases. The XP ovewview panels now have a basic support for account and hero progression. Hero one shows the last hero you played, widget is invisibile until you play your first game. The tiles now use the Max Aspect Ratio to prevent stretching forever on 21:9 monitors causing them to just look crazy. Weekly quests now show the weekly quests screen when clicked. OrionUserWidgetBase no longer prevents blueprints from running code in reponse to mouse down/up actions if the userwidget consumes input - it always calls the blueprint code first, and always returns handled if it consumes input. #rb none #tests PIE Change 3022207 on 2016/06/21 by Wes.Hunt Fix Analytics provider to retain passed in AppVersion string instead of using default %VERSION%. #rb none #tests run windows server with one bot connecting and checking analytics version is what is expected. Change 3021808 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - call GetTotalMicroseconds instead of GetTotalMilliseconds * 1000 #rb none #tests compile run ps4 #ROBOMERGE-SOURCE: CL 3021805 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021663 on 2016/06/21 by Jason.Bestimt #ROBOMERGE-AUTHOR: josh.markiewicz #UE4 - CancelFindSessions() didn't null out search result - future FindSession() calls would fail with "search in progress" #rb joe.wilcox #tests UT matchmaking #ROBOMERGE-SOURCE: CL 3021655 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3021508 on 2016/06/21 by Marcus.Wassmer Remove anti-ghosting AA for now. Causes dithered transparency to be very wrong (Dekker shoulders) And also a border around all characters of 'noisy fuzz' even when they are not moving #rb none #test PC/PS4 #codereview Brian.Karis,Jordan.Walker Change 3021475 on 2016/06/21 by Marcus.Wassmer Duplicate fix for subsurface spec in prep for PS4 optimization. (DevRendering 3018664) unified some code for easier maintainance, fixed missing multiply from former change #rb none #test PS4/PC agora Change 3021468 on 2016/06/21 by Michael.Noland Physics: Added more information when convex cooking partially succeeds (fails initially but succeeds with inflation) indicating the full path of the mesh that failed #rb ori.cohen #tests Compiled changes, will provide more information when issue reoccurs in build machine cooks #jira OR-24082 Change 3021460 on 2016/06/21 by Michael.Noland Engine: Added time spent in each hitch bucket to FPS chart .log output and analytics output #rb bob.tellez #tests Tested a match in Paragon #codereview dmitry.rekman Change 3021368 on 2016/06/21 by Marcus.Wassmer Create Tonemapper configuration with no ColorFringe to save .15ms on PS4 when colorfringe is not used. #rb rolando.caloca #test agora with/wo new config #codereview brian.karis Change 3021119 on 2016/06/21 by David.Ratti Make -notimeouts work during initial connecting phase #codereview John.Pollard #rb none #tests pie agora Change 3021048 on 2016/06/21 by David.Ratti minor tweaks to gameplay cues: -Descriptions of engine GC notify classes -Added 'auto attach to owner' flag on actor notify class. #rb none #test ability system sample project Change 3020694 on 2016/06/20 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3020301 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3020674 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #CodeReview: cody.haskell Change 3020624 on 2016/06/20 by Michael.Noland Engine: Pushing more fps chart analytics up to engine level code from Paragon Engine: Pushing benchmark config vars up to engine level code from Paragon, and added records of individual sub-steps of benchmarks #rb Bob.Tellez #tests Golden path Solo VS AI in Paragon and forced a match #codereview bob.tellez, peter.knepley Change 3020181 on 2016/06/20 by Dmitry.Rekman Re-do allowing allocations in NullRHI (OR-24029). - Originally CL 2990582 by MarcusW, stomped during merge by CL 3006926. #rb none #codereview Marcus.Wassmer, Andrew.Grant #tests none Change 3020139 on 2016/06/20 by Ryan.Gerleve Added ability to pause replay recording while keeping the current replay open. #rb john.pollard #tests paused deathcam recording while disabled Change 3019817 on 2016/06/20 by Dmitry.Rekman Poison allocated/freed memory in Debug and Development (non-editor) configs. - With this Paragon client may be more likely to crash on start. #rb Steve.Robb #codereview Robert.Manuszewski, Michael.Noland, Andrew.Grant, Gil.Gribb, Steve.Robb #tests Built Linux server and Windows client, ran them, also built Windows Orion editor. Change 3019599 on 2016/06/20 by Rolando.Caloca O - Fix flickering on heroes with morph targets #rb Marcus.Wassmer #tests Load Agora_P #jira OR-23866 Change 3019581 on 2016/06/20 by Wes.Hunt Fix crash reporter client analytics for internal builds. (Pushing critical fix immediately from //UE4/Orion-Staging) #rb Chris.Wood #tests none Change 3019524 on 2016/06/20 by David.Ratti call APawn::OnRep_Controller when ClientRetryClientRestart sets the pawn directly #rb none #tests golden path Change 3019406 on 2016/06/20 by Marcus.Wassmer Duplicate 3014956 from Dev-Rendering Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) #rb none #test none #codereview Jordan.Walker Change 3019371 on 2016/06/20 by Graeme.Thornton Optimize cooked asset registry dependency node data structures. Saves ~10mb on Paragon. #rb robert.manuszewski #tests tested with cooked pc client + server Change 3018492 on 2016/06/17 by Laurent.Delayen FBoneReferenceCustomization: support editing properties in AnimBP defaults. #rb none #tests: Sword. Change 3017974 on 2016/06/17 by Ryan.Gerleve Add an option to toggle deathcam in the gameplay settings UI if the OrionRuntimeOption for deathcam is enabled. #rb cody.haskell #tests settings menu, enabled and disabled deathcam Change 3017913 on 2016/06/17 by Robert.Manuszewski Fixing leaked log archive. #rb Steve.Robb #tests Cooked Win64 client + server Change 3017873 on 2016/06/17 by Daniel.Lamb Fix warning in diff cooked build. #test none #rb none Change 3017676 on 2016/06/17 by Sam.Zamani #online,identity,mcp fix for uninitialized variable #rb dmitry.rekman #tests none Change 3017671 on 2016/06/17 by Robert.Manuszewski Fxied and improved log message when cluster assumptions are violated. #rb Steve.Robb #tests Win64 client + server (cooked) golden path Change 3017358 on 2016/06/16 by Nick.Atamas Checking in Darnell's change that adds correct geometry to widgets inside retainer widgets. #rb none #test PIE Change 3017242 on 2016/06/16 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3017179 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3017233 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/UI/Tooltips/Hero/AbilityTooltip.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3017237 on 2016/06/16 by Dmitry.Rekman Fix accessing uninitialized field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant, Ori.Cohen #tests Compiled and ran Linux server. Change 3017236 on 2016/06/16 by Dmitry.Rekman Initialize missed field (kills valgrind warnings). #rb none #codereview Michael.Noland, Andrew.Grant #tests Compiled and ran Linux server. Change 3017186 on 2016/06/16 by Dmitry.Rekman Linux: Add hooks for libcrypto memory functions. - Libcurl uses OpenSSL, which allocates memory using libcrypto's CRYPTO_malloc() and apparently on purpose does not initialize it. - This change a) redirects these allocations to use UE's malloc b) initializes it with zeros, avoiding valgrind's warnings. - This behavior is not used on Shipping configurations because the impact on entropy is not understood (TBD later). #rb Michael.Noland, Rob.Cannaday (original version) #codereview Michael.Noland, Rob.Cannaday, Alex.Fennel, Chris.Babcock, Sam.Zamani #tests Compiled Linux server and ran it. Change 3017037 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Merging content fix for driver crash from Release-27 #ROBOMERGE-SOURCE: CL 3017036 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016838 on 2016/06/16 by Alexis.Matte #jira UE-31901 fix to export all blueprint component to obj #rb uriel.doyon #codereview matt.kuhlenschmidt #test export a blueprint containing multiple staticmesh component to obj Change 3016629 on 2016/06/16 by Dmitry.Rekman Make Binned default on Linux non-editor builds. #codereview Andrew.Grant #rb none #tests none Change 3016615 on 2016/06/16 by Jason.Bestimt #ROBOMERGE-AUTHOR: andrew.grant Temporarily disabling jemalloc for Linux #rb #tests none [CodeReviewed] Dmitry.Rekman #ROBOMERGE-SOURCE: CL 3016612 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3016566 on 2016/06/16 by Michael.Noland Engine: Fixed a regression that broke safe zone debugging features in Windows by reintroducing code from CL# 2861030 that was accidentally deleted in a merge #codereview andrew.grant #rb dan.hertzka #tests Tested r.DebugSafeZone.Mode 1 with r.DebugSafeZone.TitleRatio 0.9 in PIE and confirmed that SSafeZone obeyed it and the red overlay appeared Change 3016521 on 2016/06/16 by Ryan.Gerleve Client recoreded replay fixes and optimizations from Dev-Networking (and one from //UE4/Main), for deathcam. Includes the following CLs from Dev-Networking: 2997908 2998001 2998832 2999054 2999057 2999749 3000051 3001361 3001365 3004958 3009972 3009973 And this CL from //UE4/Main: 3015528 #tests golden path, replays #rb john.pollard Change 3016503 on 2016/06/16 by Brian.Karis Fixed uninitialized variables on particle lights. Fixes hair shading. #rb none #tests editor Change 3016429 on 2016/06/16 by Max.Chen Sequencer: Fix StartTime when clamping start offset 0. Follow up to CL #3009386. #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3016356 on 2016/06/16 by Lina.Halper - Fix crash on rampage morphtarget Merging using //UE4/Dev-Framework_to_//Orion/Dev-General - this is dupe change from Dev-Framework #jira: https://jira.ol.epicgames.net/browse/OR-23194 #rb: Ori.Cohen #tests: editor/pie spawn as rampage's alt skin Change 3015696 on 2016/06/15 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3015646 This re-unifies our build pipeline. Fingers crossed. (only 6 files are actually different) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3015672 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3015642 on 2016/06/15 by Mieszko.Zielinski Fixes to multiple reasons AI bots were getting stuck #Orion #rb Lukasz.Furman #test golden path Change 3015622 on 2016/06/15 by Mieszko.Zielinski fixed FMetaNavMeshPath doing navmesh path update without checking nav agent if pathfinding should be postponed #UE4 #rb Lukasz.Furman #test golden path Change 3015514 on 2016/06/15 by Uriel.Doyon Fixed GlobalMipBias not affecting max texture resolution. This fix is implemented differently in Dev-Rendering in CL 301498. #jira OR-23511 #rb marcus.wassmer #test played game with different quality settings Change 3015258 on 2016/06/15 by Lina.Halper Fix crash with recursive reference between two assets #rb: Ori.Cohen #tests: Sword Change 3014988 on 2016/06/15 by Wes.Hunt Fix Cook Analytics to correctly use the Legacy provider since it sends to a local data collector. #rb daniel.lamb #tests compile Orion Change 3014962 on 2016/06/15 by Olaf.Piesche Replicating CL 3013696 from Dev-Rendering; making quality level spawn rate scale work for GPU emitters. #rb simon.tovey #tests PC editor game Change 3014958 on 2016/06/15 by Laurent.Delayen Added SkeletalMeshComponent::bIncludeComponentLocationIntoBounds to help in cases where SMU_OnlyTickPoseWhenRendered is set, and an animation pushed the mesh beyond the capsule. This ensures that when the capsule is in view, the mesh will remain updated. #rb Michael.Noland #test Sword ultimate from another player's view. Change 3014833 on 2016/06/15 by Laurent.Delayen Fix for Base Heroes having their locomotion blendspace broken. #rb Thomas.Sarkanen #codereview Thomas.Sarkanen #tests Gadget networked PIE Change 3014688 on 2016/06/15 by Nick.Darnell UMG - Fixing IsHovered on UUserWidgets. SObjectWidget did not properly call the super for MouseEnter/MouseLeave allowing SWidget's implementation to set and unset the bool. #rb none #tests PIE Change 3014325 on 2016/06/15 by Marcus.Wassmer Duplicate 3012706: Scalability CVAR for ContactShadows #rb john.billon #test flip cvar in editor. Change 3014230 on 2016/06/15 by Robert.Manuszewski Fix potentially missing log output when serializing text of length equal to the async log writer buffer size. #rb Steve.Robb #tests Tested in editor build (client + server) Change 3013913 on 2016/06/14 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Updating from DMM (updated from 27.1MM) #RB:none #Tests:compiled #ROBOMERGE-SOURCE: CL 3013912 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3013437 on 2016/06/14 by Simon.Tovey Speculative fix for OR-23158 Couldnt' repro NANs but did see it reading garbage. Reinstated the check that direct accesses for particles in a zero size emitter will return null. Altered selection code to reselect when partilce is dead or returns null and to not allow new selection on zero size emitters. #tests GoldenPath, No broken fx and no more reading garbage. #rb Olaf.Piesche Change 3013063 on 2016/06/14 by Jason.Bestimt #ORION_DG - Unclog robomerge from DMM Merge #RB:none #tests:none Change 3012936 on 2016/06/14 by Rob.Cannaday Fix for multiple account login not kicking previous logins Client was not parsing response from backend. Client was expecting content-type to be "application/json" (using FString::Equals). Backend was returning "application/json;charset=UTF-8". Changed usage from FString::Equals to FString::StartsWith #jira FORT-25452 #rb sam.zamani #tests multiple account login, frontend only Merge from FN CL 3011647, plus fixing one other location expecting "application/json" Change 3012696 on 2016/06/14 by Max.Chen Sequencer: Select actors for corresponding selected keys or sections. Copy from Dev-Sequencer #jira UE-30727 #tests Load up AnnounceMaster and select keyframes #rb none Change 3012691 on 2016/06/14 by Max.Chen Sequencer: Fix dragging the leading edge of a skeletal animation section so that it adjusts the start offset of the animation clip. Copy from Dev-Sequencer #jira UE-29167 #tests Load up AnnounceMaster and adjust leading edge of animation clips #rb Frank.Fella Change 3012690 on 2016/06/14 by Andrew.Grant Removed Linux work-around for memory stomp alignment #rb none #tests compiled Change 3012687 on 2016/06/14 by Max.Chen Sequencer: Fix lower bound when doing post render tick so that the start of a shot doesn't render with the previous shot's time. Copy from Dev-Sequencer #rb none #tests Load up AnnounceMaster and played through sequence Change 3012627 on 2016/06/14 by Mieszko.Zielinski Added logging of current MoveID to PathfollowingComponent's vlog snapshot #UE4 #rb none #test golden path Change 3012615 on 2016/06/14 by Mieszko.Zielinski Improved fix to BTDecorator_Blackboard's latent tasks aborting #UE4 #rb Lukasz.Furman #test golden path Change 3012572 on 2016/06/14 by Dmitry.Rekman Fix realloc with non-default alignment in jemalloc (OR-23541). - Removed obsolete check(), the code was already there since CL 1834526. #rb none #codereview Andrew.Grant, Robert.Manuszewski #tests none Change 3012481 on 2016/06/14 by David.Ratti ability system #include fixups and move orion attribute capture marcros into base engine ability system execution class #rb none #tests ability system sample project Change 3012457 on 2016/06/14 by Andrew.Grant Un-fix misaligned memory-stomp fix for Linux #rb none #tests compiled Change 3012320 on 2016/06/14 by Graeme.Thornton Fixes for MemoryAnalyser2 solution - Upgraded to VS 2015 - Clean up solution configurations. Only leave "Any CPU" - Switch project to build with "Any CPU" rather than "x64". Reimplementation of CL 3012221 from Dev-Core #rb robert.manuszewski #tests opened the main window form correctly in visual studio Change 3012316 on 2016/06/14 by Thomas.Sarkanen Fix copying non-POD structs in the fast path Prevents double-deletions of TArrays etc. #jira UE-31394 - Fix problems with non-POD UStructs using the anim BP fast-path #tests Played PIE & died as Sword in OrionEntry, Exited PIE. #rb Martin.Wilson Change 3012187 on 2016/06/14 by Graeme.Thornton Corrected error message when not specifying linux server device command line correctly in UAT #rb Dmitry.Rekman #tests Checked error message was useful when wrong command line was specified Change 3012026 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3011936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3011996 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/oriongame/Content/Characters/Heroes/Hammer/Abilities/Subjugate/FX/P_SubjugateSwirls.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 3011969 on 2016/06/13 by Brian.Karis Tweaks for hair Change 3011638 on 2016/06/13 by Andrew.Grant Fixed issue where RepLayout could use unaligned memoryfor property construction if allocator did not use a suitable default (fixes crash when running with MemStomp). Also added sanity check in UScriptStruct::InitializeStruct that memory is correctly aligned before calling constructor #codereview Dave.Ratti, John.Pollard #rb none #tests Ran with/without memstomp Change 3011575 on 2016/06/13 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3011414 NOTE - Card data was altered. Shame shame shame. Not authoritative in DUI #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, sammy.james, matt.kuhlenschmidt #ROBOMERGE-SOURCE: CL 3011552 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3011462 on 2016/06/13 by Alexis.Matte #jira UE-31901 The outputdevice is adding 2 uninitialize character at the end of any log, this is cause by the terminator logic. The fix is to not add those characters when no terminator should be add. #rb nick.darnell #codereview Robert.Manuszewski #test export a obj file and verify all object are exported in maya or max Change 3011424 on 2016/06/13 by Martin.Wilson Hack out fastpath anim bp code until heap corruption issue can be fixed. #rb Laurent.Delayen #tests Persona + PIE Change 3011191 on 2016/06/13 by Mieszko.Zielinski Added missing initialization of PathFollowingComponent::CurrentMoveInput #UE4 #rb none #test golden path Change 3011138 on 2016/06/13 by Mieszko.Zielinski Switched bots over from travel mode to sprinting #Orion #rb Lukasz.Furman #test golden path Change 3011075 on 2016/06/13 by David.Ratti Default GameplayAbility instancing policy to InstancePerExecution #rb BenZ #tests compile Change 3011051 on 2016/06/13 by David.Ratti Add missing include so GameplayAbilitySet.h can be included on its own. #rb none #tests compile Change 3010968 on 2016/06/13 by Mieszko.Zielinski Fixed console variables crashing on "" string #UE4 #rb Lukasz.Furman #codereview Martin.Mittring #test PIE Change 3010888 on 2016/06/13 by Alexis.Matte #jira OR-23301 Close the OS handle when closing the FAsyncWriter. #rb Robert.Manuszewski #codereview Robert.Manuszewski #test try to export a obj file Change 3010239 on 2016/06/11 by Michael.Noland UMG - Adding back the logic to use the normal WidgetTree when the DesignerWidgetTree is not defined. [duplicated fix from CL# 2998267] #jira UE-31570 #tests Compiled some blueprints #rb none Change 3009870 on 2016/06/10 by Wes.Hunt Remove logging of analytics payloads from dedicated servers #jira UE-31858 #codereview:dmitry.rekman #rb none #tests All testing was done in Dev-Framework. This change was redone in this branch to get it here faster. Change 3009599 on 2016/06/10 by Michael.Noland Rendering: Corrected a misleading help comment on r.StaticMeshLODDistanceScale, explaining how it affects LOD calculations (it multiplies the effective distance, so larger numbers make transitions happen sooner) #tests Verified in the output of the help command #rb none #rn Change 3009559 on 2016/06/10 by Marcus.Wassmer Fix 11/11/10 SceneColorFormat option, enable AntiGhosting on TemporalAA, ensure TemporalAA output is the correct format for accumulating results. Set SceneColorFormat to 2 on PS4 and lowspec PC. All in all saves .3-.5ms on PS4 and improves temporalAA ghosting. #rb Brian.Karis #test Agora PS4 / PC Change 3009525 on 2016/06/10 by David.Ratti Fix case where ObjectLIbrary would not be able to find classes when searching "/Game" path. #rb none #tests object libraries in paragon Change 3009228 on 2016/06/10 by David.Ratti remove world check. Can be triggered in editor with PIE #rb none #tests pie Change 3009050 on 2016/06/10 by Dmitry.Rekman Fix LinuxClient platform not being built on Windows, and not instantiating a target platform instance. - Fixes by BenM. #rb none #codereview Ben.Marsh #tests Compiled OrionEditor on Linux. Change 3008973 on 2016/06/10 by Marcus.Wassmer Fix Windualshock on VS2015 #rb Rolando.Caloca #test PS4 controller on VS2015 build Change 3008970 on 2016/06/10 by David.Ratti Fix warning about minimal replication tag count -Made bit count a config setting. Bumped to 5 -Minor optimization to UAbilitySystemGlobals::Get() #rb none #tests goldne path, pie Change 3008478 on 2016/06/09 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 3008469 #RB:none #Tests:none Change 3008416 on 2016/06/09 by Andrew.Grant Adding 'config' as an option to set both clientconfig / serverconfig when using BuildCookRun #review-3008417 Ben.Marsh, Justin.Sargent #rb none #tests BuildCookRun with config Change 3008286 on 2016/06/09 by Dmitry.Rekman Add LinuxClient target platform. #rb none #tests Compile OrionEditor on Linux. #codereview Brad.Angelcyk, Ben.Marsh Change 3007978 on 2016/06/09 by jason.bestimt #ORION_MAIN - Merge DUI @ CL 3007507 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith #ROBOMERGE-SOURCE: CL 3007968 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3007771 on 2016/06/09 by Laurent.Delayen Fixed GetIntFromComp breaking with INDEX_NONE. Fixes crash in OrientationWarping node. #rb martin.wilson #codereview martin.wilson #tests Sword Leap. Change 3007436 on 2016/06/09 by David.Ratti change designer facing parameter name #rb none #test compile Change 3007408 on 2016/06/09 by David.Ratti WaitGameplayEffectBlockedImmunity - ability task for listening to immunity events #rb danY #tests pie Change 3007250 on 2016/06/09 by bruce.nesbit Banner impact location fix. (OR-23179) #rb none #tests Game+PIE Change 3007228 on 2016/06/09 by Ben.Marsh BuildGraph: Rename -SkipNodesWithoutTickets parameter to -SkipTargetsWithoutTickets, to reflect that it's filtering the list of targets rather than the full graph. #rb none #tests none Change 3007225 on 2016/06/09 by Ben.Marsh EC: Set the -TicketSignature=... parameter for all BuildGraph jobs started by EC to the URL of the current job. Change 3006985 on 2016/06/08 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3006936 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3006978 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3006926 on 2016/06/08 by Andrew.Grant Merging //UE4/Main @ 300872 via //UE4/Orion-Staging #rb none #tests engine QA, orion qa smoke Change 3006444 on 2016/06/08 by Ben.Marsh BuildGraph: Add mechanism to specify that nodes can only be built once for a given changelist. Nodes can have an associated ticket file, and they are only permitted to build if the ticket is assigned to the current job. Tickets are created if they don't exist, and written with a signature specific to the job specified via the -TicketSignature="..." parameter. By default, builds will fail if a ticket has been already granted to another job, but the -SkipNodesWithoutTickets parameter instructs the graph to skip affected nodes instead. #rb none #tests none Change 3006389 on 2016/06/08 by Daniel.Lamb Delay the processing of packages which aren't ready till the end of the cook. This allows other packages to be processed sooner. #rb Peter.Sauerbrei #test cook orion. Change 3006306 on 2016/06/08 by Michael.Noland Rendering: Added FreezeRendering to the console autocomplete list #rn Change 3006305 on 2016/06/08 by Michael.Noland HLOD: Added a way to control how far down the HLOD hierarchy to allow showing (can be used to limit quality loss and streaming texture memory usage on high scalability settings for example) Controlled by the new cvar r.HLOD.MaximumLevel, which can be set to the following values: -1: No maximum level (default) 0: Prevent ever showing a HLOD cluster instead of individual meshes 1: Allow only the first level of HLOD clusters to be shown 2+: Allow up to the Nth level of HLOD clusters to be shown Note: This does not affect the memory used by the HLOD meshes itself or their always loaded low mip levels, it will only save the memory associated with streaming in the higher mip levels HLOD: Allowed r.HLOD console command to be used in Test configurations HLOD: Removed some dead code in ALODActor and scene view / scene proxy relating to a different way to force visualization that has no trigger HLOD: Fixed an uninitialized memory bug in the static mesh scene proxy HLODcoloration visualization code #rn #codereview jurre.debaare #rb marc.audy #tests Tested with various settings in Paragon and tried creating some new clusters in the editor Change 3006304 on 2016/06/08 by Michael.Noland Engine: Changed the code in AActor::IncrementalRegisterComponents to obey bAutoRegister for the root component rather than asserting that it is true. Note: If children components have bAutoRegister=true, they will still pull the root component into the fray and cause it to be registered first #rb marc.audy #tests Tested with code that registers or unregisters HLOD clusters at varying levels in Paragon Change 3006041 on 2016/06/08 by Andrew.Grant Added buildidoverride to shipping whitelist #rb none #tests compiled and used param in shipping Change 3005678 on 2016/06/08 by Ben.Marsh Back out changelist 3004395 #rb none #tests none Change 3005265 on 2016/06/07 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3005120 #RB: none #Tests: none #ROBOMERGE-SOURCE: CL 3005250 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 3005081 on 2016/06/07 by Daniel.Lamb Reworked the way packages which are renamed on load are added to the cooked package list. Cooker now has options for MaxMemoryAllowance as a percentage and also MinFreeMemory (which takes into account used system memory not just total system memory). #rb Andrew.Grant, Marcus.Wasmer #test cook orion Change 3004752 on 2016/06/07 by Daniel.Lamb Requeue packages to the next package on the list instead of to the end of the list. #rb Andrew.Grant #test cook orion Change 3004560 on 2016/06/07 by David.Ratti Kill timelines, latent actions, timer when recycling gameplay cues #rb danY #tests pie Change 3004559 on 2016/06/07 by David.Ratti Object Library: -Added bool bIncludeOnlyOnDiskAssets that can be set by owner. Passed on to the AR filter when gathering assets. GameplayCue Editor: -Fix issue with new notifies not showing up after being created through the GC Editor (until restart). -Fix issue for new projects, that don't have gameplayclue tags defined, not being able to add gameplay cue tags through the editor without restarting once. #rb none #tests editor Change 3004395 on 2016/06/07 by Ben.Marsh BuildGraph: Add a script function to ensure exclusive access to a given resource. The AcquireLockFile() function takes two arguments; a path to a text file, and the name of an owner. The file is created and the owner name written to it if it doesn't already exist, otherwise the contents of it are compared against the given owner string. The operation happens transactionally, and the function returns true if file contains the given owner string on exit. Logical and/or conditions are now also short-circuited, so the result of the AcquireLockFile() function can be used to control derived property definitions within an executing job. #rb none #tests none Change 3004164 on 2016/06/07 by David.Ratti Ability system: use player controller netmode over avatar actor when possible. Fixes issue if torn off, authority, client side actor tries to activate an ability. #rb danY #tests multi pie Change 3003837 on 2016/06/07 by David.Ratti Ability system engine work -Default to /Game as search path for gameplay cues, if no explicit paths are set in the config. #rb none #tests ability sample project Change 3002800 on 2016/06/06 by Marcus.Wassmer Fix shader crash in PIE #rb none #test PIE Change 3002657 on 2016/06/06 by Dmitry.Rekman Do not copy to clipboard on crash if headless or on the wrong thread. - Could result in crash handler crashing itself in some circumstances. #rb none #codereveiw Brad.Angelcyk #tests Compiled Linux dedicated server and CrashReportClient. Change 3002546 on 2016/06/06 by Daniel.Lamb Improve cooking performance. Allow cooker to save other packages opportunistically if main package is compiling shaders. Allow cooker to load more packages if there aren't many packages to save. #rb Josh.Adams #test cook orion Change 3002369 on 2016/06/06 by Marcus.Wassmer Project setting for optional rendering features to reduce shader compile times. # of shaders per material is reduced by ~30-40% depending on material #rb Daniel.Wright #test Editor with/without all options, cooked ps4. Change 3002142 on 2016/06/06 by David.Ratti Ability system engine level: -Fix crash when gameplay cue editor starts if there are no gameplay cue paths specified -Fix crash when GameplayCue tag is not specified #rb none #tests sample ability system project, paragon Change 3002106 on 2016/06/06 by Jason.Bestimt #ROBOMERGE-AUTHOR: sam.zamani #orion - add support for code tokens which can be shared/redeemed - refactor of existing friend founder's pack codes to be displayed in a generic way using code token info - added CodeToken.FounderFriendInviteT0 for new paragon tier 0 code which grants access to game without also giving a Founder's pack - added CodeToken.FounderFriendInviteT1 to replace existing CodeToken.FriendPC and CodeToken.FriendPS4 Founder's pack codes. Existing codes aliased to the new CodeToken.FounderFriendInviteT1 code - No longer differentiation between PC/PS4 friend codes - "Share Friend Code" button will now process all available codes that can be issued instead of just 1 - updated Orion service Mcp call for getUnredeemedCodes() to ignore the code template id and return all available codes. Each returned code will also include the type [CodeReviewed]: david.nikdel, jason.bestimt #rb david.nikdel #tests PC PIE using localhost and profile proxy for granting codes, also existing account with legacy codes #ROBOMERGE-SOURCE: CL 3002104 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3001218 on 2016/06/05 by jason.bestimt #ORION_MAIN - Merge 27.2 @ CL 3001162 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 3001200 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: jason.bestimt Change 2999508 on 2016/06/03 by jason.bestimt #ORION_MAIN - Merge 27 @ CL 2999463 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2999498 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Audio/ClassesAndMixes/Classes/Master.uasset - can't integrate exclusive file already opened #CodeReview: jason.bestimt Change 2999465 on 2016/06/03 by Robert.Manuszewski Whitelisting more DLLs for injection. #rb none #tests none Change 2999455 on 2016/06/03 by Lukasz.Furman disabled path invalidation events for minions #orion #rb Mieszko.Zielinski #tests PIE with additional debug logging Change 2998488 on 2016/06/02 by Michael.Noland Engine: Prevent forced drawing of spline components in Test configuration #codereview james.golding #tests Ran a cooked Test build on a map with splines in it #rb david.ratti #robomerge: main Change 2997954 on 2016/06/02 by Jason.Bestimt #ROBOMERGE-AUTHOR: jon.lietz OR-22425 no longer try to updat the tag map and modifiers when the gameplay effect that is being removed was not active. #RB Dave.Ratti #Tests golden path #ROBOMERGE-SOURCE: CL 2997940 in //Orion/Release-0.27/... via CL 2997943 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2997750 on 2016/06/02 by Graeme.Thornton Add FPakFile::Check() that attempts to open and read the data out of every file in a pak, to check for corruption Added -checkpak option for force a check of every mounted pak file #rb robert.manuszewski #tests tested against cooked pc client. made sure my data succeeded. made sure corrupted data throws an error. [CL 3031715 by Andrew Grant in Main branch]
2016-06-28 17:59:42 -04:00
}
return ErrorCount == 0;
}
struct FMiniFileEntry
{
uint32 FilenameHash;
int32 EntryIndex;
};
static inline int32 CDECL CompareFMiniFileEntry(const void* Left, const void* Right)
{
const FMiniFileEntry* LeftEntry = (const FMiniFileEntry*)Left;
const FMiniFileEntry* RightEntry = (const FMiniFileEntry*)Right;
if (LeftEntry->FilenameHash < RightEntry->FilenameHash)
{
return -1;
}
if (LeftEntry->FilenameHash > RightEntry->FilenameHash)
{
return 1;
}
return 0;
}
void FPakFile::UnloadPakEntryFilenames(TArray<FString>* DirectoryRootsToKeep)
{
// If the process has already been done, get out of here.
if (bFilenamesRemoved)
{
return;
}
LLM_SCOPE(ELLMTag::FileSystem);
// Variables for the filename hashing and collision detection.
int NumRetries = 0;
const int MAX_RETRIES = 10;
bool bHasCollision;
FilenameStartHash = 0;
// Allocate the temporary array for hashing filenames. The Memset is to hopefully
// silence the Visual Studio static analyzer.
TArray<FMiniFileEntry> MiniFileEntries;
MiniFileEntries.AddUninitialized(NumEntries);
do
{
// No collisions yet for this pass.
bHasCollision = false;
// Build the list of hashes from the Index based on the starting hash.
int32 EntryIndex = 0;
for (TMap<FString, FPakDirectory>::TConstIterator It(Index); It; ++It)
{
for (FPakDirectory::TConstIterator DirectoryIt(It.Value()); DirectoryIt; ++DirectoryIt)
{
FString FinalFilename = It.Key() / DirectoryIt.Key();
uint32 FilenameHash = FCrc::MemCrc32(*FinalFilename.ToLower(), FinalFilename.Len() * sizeof(TCHAR), FilenameStartHash);
MiniFileEntries[EntryIndex].FilenameHash = FilenameHash;
MiniFileEntries[EntryIndex].EntryIndex = DirectoryIt.Value();
++EntryIndex;
}
}
// Sort the list to make hash collision detection easy.
qsort(MiniFileEntries.GetData(), NumEntries, sizeof(FMiniFileEntry), CompareFMiniFileEntry);
// Scan the sorted list of hashes for a collision.
for (EntryIndex = 1; EntryIndex < NumEntries; ++EntryIndex)
{
if (MiniFileEntries[EntryIndex].FilenameHash == MiniFileEntries[EntryIndex - 1].FilenameHash)
{
bHasCollision = true;
//FPlatformMisc::LowLevelOutputDebugString(*(FString("Hash collision - ") + FString::FormatAsNumber(FilenameStartHash) + TEXT(" - ")
//+ FString::FormatAsNumber(MiniFileEntries[EntryIndex].Crc) + TEXT(" - ")
//+ FString::FormatAsNumber(MiniFileEntries[EntryIndex - 1].Crc)));
++FilenameStartHash;
++NumRetries;
break;
}
}
} while (bHasCollision && NumRetries < MAX_RETRIES);
// Filenames can only be unloaded if we found a collision-free starting hash
// within the maximum number of retries.
if (NumRetries >= MAX_RETRIES)
{
// FPlatformMisc::LowLevelOutputDebugString(TEXT("Can't unload pak filenames due to hash collision..."));
return;
}
// Allocate the storage space.
FilenameHashesIndices = new int32[NumEntries];
FilenameHashes = new uint32[NumEntries];
int32 LastHashMostSignificantBits = -1;
// FilenameHashesIndex provides small 'arenas' of binary searchable filename hashes.
// The most significant bits (MSB) of the hash, 8 in this case, are used to index into
// the FilenameHashesIndex to get the start and end indices within FilenameHashes for the
// search.
//
// An example array looks like this:
//
// 0 - 0 << No entries in the 0-1 MSB range.
// 1 - 0 << Entry index 0 begins the 1-2 MSB range.
// 2 - 103 << Entry index 103 begins the 2-3 MSB range. The 3 MSB range is 103 also, so there are no entries.
// 3 - 103
// 4 - 331
// 5 - 629
// ...
// 256 - 55331 << A value representing NumEntries
const int MAX_FILENAME_HASHES_INDEX_SIZE = 257;
FilenameHashesIndex = new uint32[MAX_FILENAME_HASHES_INDEX_SIZE];
// Transfer the sorted hashes to FilenameHashes.
for (int32 EntryIndex = 0; EntryIndex < NumEntries; EntryIndex++)
{
// If a new index entry is needed as a result of crossing over into a larger hash group
// as specified through the 8 most significant bits of the hash, store the entry index.
uint32 FilenameHash = MiniFileEntries[EntryIndex].FilenameHash;
int32 HashMostSignificantBits = FilenameHash >> 24;
if (HashMostSignificantBits != LastHashMostSignificantBits)
{
for (int32 BitsIndex = LastHashMostSignificantBits + 1; BitsIndex <= HashMostSignificantBits; ++BitsIndex)
{
FilenameHashesIndex[BitsIndex] = EntryIndex;
}
LastHashMostSignificantBits = HashMostSignificantBits;
}
FilenameHashes[EntryIndex] = FilenameHash;
FilenameHashesIndices[EntryIndex] = MiniFileEntries[EntryIndex].EntryIndex;
}
// Fill out the array to the end.
for (int32 BitsIndex = LastHashMostSignificantBits + 1; BitsIndex < MAX_FILENAME_HASHES_INDEX_SIZE; ++BitsIndex)
{
FilenameHashesIndex[BitsIndex] = NumEntries;
}
bFilenamesRemoved = true;
#if defined(FPAKFILE_UNLOADPAKENTRYFILENAMES_CHECK)
// Build the list of hashes from the Index based on the starting hash.
for (TMap<FString, FPakDirectory>::TConstIterator It(Index); It; ++It)
{
for (FPakDirectory::TConstIterator DirectoryIt(It.Value()); DirectoryIt; ++DirectoryIt)
{
int32 EntryIndex = DirectoryIt.Value();
FString FinalFilename = MountPoint / It.Key() / DirectoryIt.Key();
FPakEntry OutEntry;
if (!Find(FinalFilename, &OutEntry))
{
FPlatformMisc::LowLevelOutputDebugString(*FinalFilename);
}
FPakEntry& InEntry = Files[EntryIndex];
if (InEntry.Offset != OutEntry.Offset ||
InEntry.Size != OutEntry.Size ||
InEntry.UncompressedSize != OutEntry.UncompressedSize ||
InEntry.CompressionMethod != OutEntry.CompressionMethod ||
InEntry.bEncrypted != OutEntry.bEncrypted ||
InEntry.CompressionBlockSize != OutEntry.CompressionBlockSize ||
InEntry.CompressionBlocks != OutEntry.CompressionBlocks)
{
FPlatformMisc::LowLevelOutputDebugString(TEXT("!!!!!!!!!!!!!!!!!!!!!!"));
FPlatformMisc::LowLevelOutputDebugString(*FinalFilename);
}
}
}
#endif
// Clear out those portions of the Index allowed by the user.
if (DirectoryRootsToKeep != nullptr)
{
TArray<FString> DirectoryNames;
Index.GetKeys(DirectoryNames);
for (int32 DirectoryNamesIndex = 0; DirectoryNamesIndex < DirectoryNames.Num(); ++DirectoryNamesIndex)
{
FString& DirectoryName = DirectoryNames[DirectoryNamesIndex];
bool bRemoveDirectoryFromIndex = true;
for (int32 DirectoryRootsToKeepIndex = 0; DirectoryRootsToKeepIndex < DirectoryRootsToKeep->Num(); ++DirectoryRootsToKeepIndex)
{
if (DirectoryName.MatchesWildcard((*DirectoryRootsToKeep)[DirectoryRootsToKeepIndex]))
{
bRemoveDirectoryFromIndex = false;
break;
}
}
if (bRemoveDirectoryFromIndex)
{
Index.Remove(DirectoryName);
}
}
Index.Shrink();
#if defined(FPAKFILE_UNLOADPAKENTRYFILENAMES_LOGKEPTFILENAMES)
for (TMap<FString, FPakDirectory>::TConstIterator It(Index); It; ++It)
{
FPlatformMisc::LowLevelOutputDebugString(*(FString("FPakFile::UnloadPakEntryFilenames() - Keeping ") + It.Key()));
}
#endif
}
else
{
Index.Empty(0);
}
}
void FPakFile::ShrinkPakEntriesMemoryUsage()
{
// If the process has already been done, get out of here.
if (MiniPakEntries != NULL)
{
return;
}
LLM_SCOPE(ELLMTag::FileSystem);
// Wander every file entry.
int TotalSizeOfCompressedEntries = 0;
bool bIsPossibleToShrink = true;
int32 EntryIndex = 0;
for (EntryIndex = 0; EntryIndex < NumEntries; ++EntryIndex)
{
FPakEntry& Entry = Files[EntryIndex];
bool bIsOffset32BitSafe = Entry.Offset <= MAX_uint32;
bool bIsSize32BitSafe = Entry.Size <= MAX_uint32;
bool bIsUncompressedSize32BitSafe = Entry.UncompressedSize <= MAX_uint32;
// This data fits into a bitfield (described below), and the data has
// to fit within a certain range of bits.
if (Entry.CompressionMethodIndex >= (1 << 6))
{
bIsPossibleToShrink = false;
break;
}
if (Entry.CompressionBlocks.Num() >= (1 << 16))
{
bIsPossibleToShrink = false;
break;
}
if (Entry.CompressionMethodIndex != 0)
{
if (Entry.CompressionBlockSize != Entry.UncompressedSize && ((Entry.CompressionBlockSize >> 11) > 0x3f))
{
bIsPossibleToShrink = false;
break;
}
if (Entry.CompressionBlocks.Num() > 0 && ((Info.HasRelativeCompressedChunkOffsets() ? 0 : Entry.Offset) + Entry.GetSerializedSize(Info.Version) != Entry.CompressionBlocks[0].CompressedStart))
{
bIsPossibleToShrink = false;
break;
}
if (Entry.CompressionBlocks.Num() == 1 && ((Info.HasRelativeCompressedChunkOffsets() ? 0 : Entry.Offset) + Entry.GetSerializedSize(Info.Version) + Entry.Size != Entry.CompressionBlocks[0].CompressedEnd))
{
bIsPossibleToShrink = false;
break;
}
if (Entry.CompressionBlocks.Num() > 1)
{
for (int i = 1; i < Entry.CompressionBlocks.Num(); ++i)
{
if (Entry.CompressionBlocks[i].CompressedStart != Entry.CompressionBlocks[i - 1].CompressedEnd)
{
bIsPossibleToShrink = false;
break;
}
}
if (!bIsPossibleToShrink)
{
break;
}
}
}
TotalSizeOfCompressedEntries += sizeof(uint32)
+ (bIsOffset32BitSafe ? sizeof(uint32) : sizeof(uint64))
+ (bIsUncompressedSize32BitSafe ? sizeof(uint32) : sizeof(uint64));
if (Entry.CompressionMethodIndex != 0)
{
TotalSizeOfCompressedEntries +=
(bIsSize32BitSafe ? sizeof(uint32) : sizeof(uint64));
if (Entry.CompressionBlocks.Num() > 1)
{
TotalSizeOfCompressedEntries += Entry.CompressionBlocks.Num() * sizeof(uint32);
}
}
}
if (!bIsPossibleToShrink)
{
return;
}
// Allocate the buffer to hold onto all of the bit-encoded compressed FPakEntry structures.
MiniPakEntries = new uint8[TotalSizeOfCompressedEntries];
MiniPakEntriesOffsets = new uint32[NumEntries];
// Walk all of the file entries.
uint8* CurrentEntryPtr = MiniPakEntries;
for (EntryIndex = 0; EntryIndex < NumEntries; ++EntryIndex)
{
FPakEntry* FullEntry = &Files[EntryIndex];
MiniPakEntriesOffsets[EntryIndex] = CurrentEntryPtr - MiniPakEntries;
//deleted records have a magic number in the offset instead (not ideal, but there is no more space in the bit-encoded entry)
if (FullEntry->IsDeleteRecord())
{
MiniPakEntriesOffsets[EntryIndex] = MAX_uint32;
}
// Begin building the compressed memory structure.
//
// The general data format for a bit-encoded entry is this:
//
// uint32 - Flags
// Bit 31 = Offset 32-bit safe?
// Bit 30 = Uncompressed size 32-bit safe?
// Bit 29 = Size 32-bit safe?
// Bits 28-23 = Compression method
// Bit 22 = Encrypted
// Bits 21-6 = Compression blocks count
// Bits 5-0 = Compression block size
// uint32/uint64 - Offset (either 32-bit or 64-bit depending on bIsOffset32BitSafe)
// uint32/uint64 - Uncompressed Size (either 32-bit or 64-bit depending on bIsUncompressedSize32BitSafe)
//
// If the CompressionMethod != COMPRESS_None:
// uint32/uint64 - Size (either 32-bit or 64-bit depending on bIsSize32BitSafe)
//
// If the Compression blocks count is more than 1, then an array of Compression block sizes follows of:
// uint32 - Number of bytes in this Compression block.
//
bool bIsOffset32BitSafe = FullEntry->Offset <= MAX_uint32;
bool bIsSize32BitSafe = FullEntry->Size <= MAX_uint32;
bool bIsUncompressedSize32BitSafe = FullEntry->UncompressedSize <= MAX_uint32;
// Build the Flags field.
*(uint32*)CurrentEntryPtr =
(bIsOffset32BitSafe ? (1 << 31) : 0)
| (bIsUncompressedSize32BitSafe ? (1 << 30) : 0)
| (bIsSize32BitSafe ? (1 << 29) : 0)
| (FullEntry->CompressionMethodIndex << 23)
| (FullEntry->IsEncrypted() ? (1 << 22) : 0)
| (FullEntry->CompressionBlocks.Num() << 6)
| (FullEntry->CompressionBlockSize >> 11)
;
CurrentEntryPtr += sizeof(uint32);
// Build the Offset field.
if (bIsOffset32BitSafe)
{
*(uint32*)CurrentEntryPtr = (uint32)FullEntry->Offset;
CurrentEntryPtr += sizeof(uint32);
}
else
{
FMemory::Memcpy(CurrentEntryPtr, &FullEntry->Offset, sizeof(int64));
CurrentEntryPtr += sizeof(int64);
}
// Build the Uncompressed Size field.
if (bIsUncompressedSize32BitSafe)
{
*(uint32*)CurrentEntryPtr = (uint32)FullEntry->UncompressedSize;
CurrentEntryPtr += sizeof(uint32);
}
else
{
FMemory::Memcpy(CurrentEntryPtr, &FullEntry->UncompressedSize, sizeof(int64));
CurrentEntryPtr += sizeof(int64);
}
// Any additional data is for compressed file data.
if (FullEntry->CompressionMethodIndex != 0)
{
// Build the Compressed Size field.
if (bIsSize32BitSafe)
{
*(uint32*)CurrentEntryPtr = (uint32)FullEntry->Size;
CurrentEntryPtr += sizeof(uint32);
}
else
{
FMemory::Memcpy(CurrentEntryPtr, &FullEntry->Size, sizeof(int64));
CurrentEntryPtr += sizeof(int64);
}
// Build the Compression Blocks array.
if (FullEntry->CompressionBlocks.Num() > 1)
{
for (int CompressionBlockIndex = 0; CompressionBlockIndex < FullEntry->CompressionBlocks.Num(); ++CompressionBlockIndex)
{
*(uint32*)CurrentEntryPtr = FullEntry->CompressionBlocks[CompressionBlockIndex].CompressedEnd - FullEntry->CompressionBlocks[CompressionBlockIndex].CompressedStart;
CurrentEntryPtr += sizeof(uint32);
}
}
}
}
check(CurrentEntryPtr == MiniPakEntries + TotalSizeOfCompressedEntries);
// Clear out the Files data. We compressed it, and we don't need the wasted
// space of the original anymore.
Files.Empty(0);
return;
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#if DO_CHECK
/**
* FThreadCheckingArchiveProxy - checks that inner archive is only used from the specified thread ID
*/
class FThreadCheckingArchiveProxy : public FArchiveProxy
{
public:
const uint32 ThreadId;
FArchive* InnerArchivePtr;
FThreadCheckingArchiveProxy(FArchive* InReader, uint32 InThreadId)
: FArchiveProxy(*InReader)
, ThreadId(InThreadId)
, InnerArchivePtr(InReader)
{}
virtual ~FThreadCheckingArchiveProxy()
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
{
if (InnerArchivePtr)
{
delete InnerArchivePtr;
}
}
//~ Begin FArchiveProxy Interface
virtual void Serialize(void* Data, int64 Length) override
{
if (FPlatformTLS::GetCurrentThreadId() != ThreadId)
{
UE_LOG(LogPakFile, Error, TEXT("Attempted serialize using thread-specific pak file reader on the wrong thread. Reader for thread %d used by thread %d."), ThreadId, FPlatformTLS::GetCurrentThreadId());
}
InnerArchive.Serialize(Data, Length);
}
virtual void Seek(int64 InPos) override
{
if (FPlatformTLS::GetCurrentThreadId() != ThreadId)
{
UE_LOG(LogPakFile, Error, TEXT("Attempted seek using thread-specific pak file reader on the wrong thread. Reader for thread %d used by thread %d."), ThreadId, FPlatformTLS::GetCurrentThreadId());
}
InnerArchive.Seek(InPos);
}
//~ End FArchiveProxy Interface
};
#endif //DO_CHECK
void FPakFile::GetFilenamesInChunk(const TArray<int32>& InChunkIDs, TArray<FString>& OutFileList)
{
TSet<int32> OverlappingEntries;
for (int32 LocalChunkID : InChunkIDs)
{
int32 ChunkStart = LocalChunkID * FPakInfo::MaxChunkDataSize;
int32 ChunkEnd = ChunkStart + FPakInfo::MaxChunkDataSize;
int32 FileIndex = 0;
for (const FPakEntry& File : Files)
{
int32 FileStart = File.Offset;
int32 FileEnd = File.Offset + File.Size;
// If this file is past the end of the target chunk, we're done
if (FileStart > ChunkEnd)
{
break;
}
if (FileEnd > ChunkStart)
{
OverlappingEntries.Add(FileIndex);
}
FileIndex++;
}
}
int32 Remaining = OverlappingEntries.Num();
for (const TMap<FString, FPakDirectory>::ElementType& DirectoryElement : Index)
{
const FPakDirectory& Directory = DirectoryElement.Value;
for (const FPakDirectory::ElementType& FileElement : Directory)
{
if (OverlappingEntries.Contains(FileElement.Value))
{
OutFileList.Add(DirectoryElement.Key / FileElement.Key);
if (--Remaining == 0)
{
break;
}
}
}
}
}
FArchive* FPakFile::GetSharedReader(IPlatformFile* LowerLevel)
{
uint32 Thread = FPlatformTLS::GetCurrentThreadId();
FArchive* PakReader = NULL;
{
FScopeLock ScopedLock(&CriticalSection);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TUniquePtr<FArchive>* ExistingReader = ReaderMap.Find(Thread);
if (ExistingReader)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
PakReader = ExistingReader->Get();
}
if (!PakReader)
{
// Create a new FArchive reader and pass it to the new handle.
if (LowerLevel != NULL)
{
IFileHandle* PakHandle = LowerLevel->OpenRead(*GetFilename());
if (PakHandle)
{
PakReader = CreatePakReader(*PakHandle, *GetFilename());
}
}
else
{
PakReader = CreatePakReader(*GetFilename());
}
if (!PakReader)
{
UE_LOG(LogPakFile, Fatal, TEXT("Unable to create pak \"%s\" handle"), *GetFilename());
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#if DO_CHECK
FArchive* Proxy = new FThreadCheckingArchiveProxy(PakReader, Thread);
ReaderMap.Emplace(Thread, Proxy);
PakReader = Proxy;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#else //DO_CHECK
ReaderMap.Emplace(Thread, PakReader);
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#endif //DO_CHECK
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
}
}
return PakReader;
}
FPakFile::EFindResult FPakFile::Find(const FString& Filename, FPakEntry* OutEntry) const
{
QUICK_SCOPE_CYCLE_COUNTER(PakFileFind);
if (Filename.StartsWith(MountPoint))
{
FString Path(FPaths::GetPath(Filename));
// Handle the case where the user called FPakFile::UnloadFilenames() and the filenames
// were removed from memory.
if (bFilenamesRemoved)
{
// Derived from the following:
// FString RelativeFilename(Filename.Mid(Path.Len() + 1));
// Path = Path.Mid(MountPoint.Len()) / RelativeFilename;
// Hash the Path.
int AdjustedMountPointLen = Path.Len() < MountPoint.Len() ? Path.Len() : MountPoint.Len();
FString LowercaseFilename = Filename.ToLower();
const TCHAR* SplitStartPtr = *LowercaseFilename + AdjustedMountPointLen;
uint32 SplitLen = LowercaseFilename.Len() - AdjustedMountPointLen;
if (*SplitStartPtr == '/')
{
++SplitStartPtr;
--SplitLen;
}
uint32 PathHash = FCrc::MemCrc32(SplitStartPtr, SplitLen * sizeof(TCHAR), FilenameStartHash);
// Look it up in our sorted-by-filename-hash array.
uint32 PathHashMostSignificantBits = PathHash >> 24;
uint32 HashEntriesCount = FilenameHashesIndex[PathHashMostSignificantBits + 1] - FilenameHashesIndex[PathHashMostSignificantBits];
uint32* FoundHash = (uint32*)bsearch(&PathHash, FilenameHashes + FilenameHashesIndex[PathHashMostSignificantBits], HashEntriesCount, sizeof(uint32), CompareFilenameHashes);
if (FoundHash != NULL)
{
bool bDeleted = false;
int32 FoundEntryIndex = FilenameHashesIndices[FoundHash - FilenameHashes];
if (MiniPakEntries != NULL)
{
uint32 MemoryOffset = MiniPakEntriesOffsets[FoundEntryIndex];
bDeleted = (MemoryOffset == MAX_uint32); // deleted records have a magic number in the offset instead (not ideal, but there is no more space in the bit-encoded entry)
if (OutEntry != NULL)
{
if (!bDeleted)
{
// The FPakEntry structures are bit-encoded, so decode it.
DecodePakEntry(MiniPakEntries + MemoryOffset, OutEntry);
}
else
{
// entry was deleted and original data is inaccessible- build dummy entry
(*OutEntry) = FPakEntry();
OutEntry->SetDeleteRecord(true);
OutEntry->Verified = true; // Set Verified to true to avoid have a synchronous open fail comparing FPakEntry structures.
}
}
}
else
{
const FPakEntry* FoundEntry = &Files[FoundEntryIndex];
bDeleted = FoundEntry->IsDeleteRecord();
if (OutEntry != NULL)
{
OutEntry->Offset = FoundEntry->Offset;
OutEntry->Size = FoundEntry->Size;
OutEntry->UncompressedSize = FoundEntry->UncompressedSize;
OutEntry->CompressionMethodIndex = FoundEntry->CompressionMethodIndex;
// NEEDED? FMemory::Memcpy(OutEntry->Hash, FoundEntry->Hash, sizeof(OutEntry->Hash));
OutEntry->CompressionBlocks = FoundEntry->CompressionBlocks;
OutEntry->CompressionBlockSize = FoundEntry->CompressionBlockSize;
OutEntry->Flags = FoundEntry->Flags;
OutEntry->Verified = true; // Set Verified to true to avoid have a synchronous open fail comparing FPakEntry structures.
}
}
return bDeleted ? EFindResult::FoundDeleted : EFindResult::Found;
}
}
else
{
const FPakDirectory* PakDirectory = FindDirectory(*Path);
if (PakDirectory != NULL)
{
FString RelativeFilename(Filename.Mid(Path.Len() + 1));
int32 const* FoundEntryIndex = PakDirectory->Find(RelativeFilename);
if (FoundEntryIndex != NULL)
{
bool bDeleted = false;
if (MiniPakEntries != NULL)
{
// The FPakEntry structures are bit-encoded, so decode it.
uint32 MemoryOffset = MiniPakEntriesOffsets[*FoundEntryIndex];
bDeleted = (MemoryOffset == MAX_uint32); // deleted records have a magic number in the offset instead (not ideal, but there is no more space in the bit-encoded entry)
if (OutEntry != NULL)
{
if (!bDeleted)
{
// The FPakEntry structures are bit-encoded, so decode it.
uint8* FoundPtr = MiniPakEntries + MemoryOffset;
DecodePakEntry(FoundPtr, OutEntry);
}
else
{
// entry was deleted and original data is inaccessible- build dummy entry
(*OutEntry) = FPakEntry();
OutEntry->SetDeleteRecord(true);
OutEntry->Verified = true; // Set Verified to true to avoid have a synchronous open fail comparing FPakEntry structures.
}
}
}
else
{
const FPakEntry* FoundEntry = &Files[*FoundEntryIndex];
bDeleted = FoundEntry->IsDeleteRecord();
if (OutEntry != NULL)
{
//*OutEntry = **FoundEntry;
OutEntry->Offset = FoundEntry->Offset;
OutEntry->Size = FoundEntry->Size;
OutEntry->UncompressedSize = FoundEntry->UncompressedSize;
OutEntry->CompressionMethodIndex = FoundEntry->CompressionMethodIndex;
FMemory::Memcpy(OutEntry->Hash, FoundEntry->Hash, sizeof(OutEntry->Hash));
OutEntry->CompressionBlocks = FoundEntry->CompressionBlocks;
OutEntry->CompressionBlockSize = FoundEntry->CompressionBlockSize;
OutEntry->Flags = FoundEntry->Flags;
OutEntry->Verified = true; // Set Verified to true to avoid have a synchronous open fail comparing FPakEntry structures.
}
}
return bDeleted ? EFindResult::FoundDeleted : EFindResult::Found;
}
}
}
}
return EFindResult::NotFound;
}
#if !UE_BUILD_SHIPPING
class FPakExec : private FSelfRegisteringExec
{
FPakPlatformFile& PlatformFile;
public:
FPakExec(FPakPlatformFile& InPlatformFile)
: PlatformFile(InPlatformFile)
{}
/** Console commands **/
virtual bool Exec(UWorld* InWorld, const TCHAR* Cmd, FOutputDevice& Ar) override
{
if (FParse::Command(&Cmd, TEXT("Mount")))
{
PlatformFile.HandleMountCommand(Cmd, Ar);
return true;
}
if (FParse::Command(&Cmd, TEXT("Unmount")))
{
PlatformFile.HandleUnmountCommand(Cmd, Ar);
return true;
}
else if (FParse::Command(&Cmd, TEXT("PakList")))
{
PlatformFile.HandlePakListCommand(Cmd, Ar);
return true;
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
else if (FParse::Command(&Cmd, TEXT("PakCorrupt")))
{
PlatformFile.HandlePakCorruptCommand(Cmd, Ar);
return true;
}
return false;
}
};
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
static TUniquePtr<FPakExec> GPakExec;
void FPakPlatformFile::HandleMountCommand(const TCHAR* Cmd, FOutputDevice& Ar)
{
const FString PakFilename = FParse::Token(Cmd, false);
if (!PakFilename.IsEmpty())
{
const FString MountPoint = FParse::Token(Cmd, false);
Mount(*PakFilename, 0, MountPoint.IsEmpty() ? NULL : *MountPoint);
}
}
void FPakPlatformFile::HandleUnmountCommand(const TCHAR* Cmd, FOutputDevice& Ar)
{
const FString PakFilename = FParse::Token(Cmd, false);
if (!PakFilename.IsEmpty())
{
Unmount(*PakFilename);
}
}
void FPakPlatformFile::HandlePakListCommand(const TCHAR* Cmd, FOutputDevice& Ar)
{
TArray<FPakListEntry> Paks;
GetMountedPaks(Paks);
for (auto Pak : Paks)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
Ar.Logf(TEXT("%s Mounted to %s"), *Pak.PakFile->GetFilename(), *Pak.PakFile->GetMountPoint());
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3620134) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3550452 by Ben.Marsh UAT: Improve readability of error message when an editor commandlet fails with an error code. Change 3551179 by Ben.Marsh Add methods for reading text files into an array of strings. Change 3551260 by Ben.Marsh Core: Change FFileHelper routines to use enum classes for flags. Change 3555697 by Gil.Gribb Fixed a rare crash when the asset registry scanner found old cooked files with package level compression. #jira UE-47668 Change 3556464 by Ben.Marsh UGS: If working in a virtual stream, use the name of the first non-virtual ancestor for writing version files. Change 3557630 by Ben.Marsh Allow the network version to be set via Build.version if it's not overriden from Version.h. Change 3561357 by Gil.Gribb Fixed crashes related to loading old unversioned files in the editor. #jira UE-47806 Change 3565711 by Graeme.Thornton PR #3839: Make non-encoding specific Base64 functions accessible (Contributed by stfx) Change 3565864 by Robert.Manuszewski Temp fix for a race condition with the async loading thread enabled - caching the linker in case it gets removed (but not deleted) from super class object. Change 3569022 by Ben.Marsh PR #3849: Update gitignore (Contributed by mhutch) Change 3569113 by Ben.Marsh Fix Japanese errors not displaying correctly in the cook output log. #jira UE-47746 Change 3569486 by Ben.Marsh UGS: Always sync the Enterprise folder if the selected .uproject file has the "Enterprise" flag set. Change 3570483 by Graeme.Thornton Minor C# cleanups. Removing some redundant "using" calls which also cause dotnetcore compile errors Change 3570513 by Robert.Manuszewski Fix for a race condition with async loading thread enabled. Change 3570664 by Ben.Marsh UBT: Use P/Invoke to determine number of physical processors on Windows rather than using WMI. Starting up WMIC adds 2.5 seconds to build times, and is not compatible with .NET core. Change 3570708 by Robert.Manuszewski Added ENABLE_GC_OBJECT_CHECKS macro to be able to quickly toggle UObject pointer checks in shipping builds when the garbage collector is running. Change 3571592 by Ben.Marsh UBT: Allow running with -installed without creating [InstalledPlatforms] entries in BaseEngine.ini. If there is no HasInstalledPlatformInfo=true setting, assume that all platforms are still available. Change 3572215 by Graeme.Thornton UBT - Remove some unnecessary using directives - Point SN-DBS code at the new Utils.GetPhysicalProcessorCount call, rather than trying to calculate it itself Change 3572437 by Robert.Manuszewski Game-specific fix for lazy object pointer issues in one of the test levels. The previous fix had to be partially reverted due to side-effects. #jira UE-44996 Change 3572480 by Robert.Manuszewski MaterialInstanceCollections will no longer be added to GC clusters to prevent materials staying around in memory for too long Change 3573547 by Ben.Marsh Add support for displaying log timestamps in local time. Set LogTimes=Local in *Engine.ini, or pass -LocalLogTimes on the command line. Change 3574562 by Robert.Manuszewski PR #3847: Add GC callbacks for script integrations (Contributed by mhutch) Change 3575017 by Ben.Marsh Move some functions related to generating window resolutions out of Core (FParse::Resolution, GenerateConvenientWindowedResolutions). Also remove a few headers from shared PCHs prior to splitting application functionality out of Core. Change 3575689 by Ben.Marsh Add a fixed URL for opening the API documentation, so it works correctly in "internal" and "perforce" builds. Change 3575934 by Steve.Robb Fix for nested preprocessor definitions. Change 3575961 by Steve.Robb Fix for nested zeros. Change 3576297 by Robert.Manuszewski Material resources will now be discarded in PostLoad (Game Thread) instead of in Serialize (potentially Async Loading Thread) so that shader deregistration doesn't assert when done from a different thread than the game thread. #jira FORT-38977 Change 3576366 by Ben.Marsh Add shim functions to allow redirecting FPlatformMisc::ClipboardCopy()/ClipboardPaste() to FPlatformApplicationMisc::ClipboardCopy()/ClipboardPaste() while they are deprecated. Change 3578290 by Graeme.Thornton Changes to Ionic zip library to allow building on dot net core Change 3578291 by Graeme.Thornton Ionic zip library binaries built for .NET Core Change 3578354 by Graeme.Thornton Added FBase64::GetDecodedDataSize() to determine the size of bytes of a decoded base64 string Change 3578674 by Robert.Manuszewski After loading packages flush linker cache on uncooked platforms to free precache memory Change 3579068 by Steve.Robb Fix for CLASS_Intrinsic getting stomped. Fix to EClassFlags so that they are visible in the debugger. Re-added mysteriously-removed comments. Change 3579228 by Steve.Robb BOM removed. Change 3579297 by Ben.Marsh Fix exception if a plugin lists the same module twice. #jira UE-48232 Change 3579898 by Robert.Manuszewski When creating GC clusters and asserting due to objects still being pending load, the object name and cluster name will now be logged with the assert. Change 3579983 by Robert.Manuszewski More fixes for freeing linker cache memory in the editor. Change 3580012 by Graeme.Thornton Remove redundant copy of FileReference.cs Change 3580408 by Ben.Marsh Validate that arguments passed to the checkf macro are valid sprintf types, and fix up a few places which are currently incorrect. Change 3582104 by Graeme.Thornton Added a dynamic compilation path that uses the latest roslyn apis. Currently only used by the .NET Core path. Change 3582131 by Graeme.Thornton #define out some PerformanceCounter calls that don't exist in .NET Core. They're only used by mono-specific calls anyway. Change 3582645 by Ben.Marsh PR #3879: fix bug when creating a new VS2017 C++ project (Contributed by mnannola) #jira UE-48192 Change 3583955 by Robert.Manuszewski Support for EDL cooked packages in the editor Change 3584035 by Graeme.Thornton Split RunExternalExecutable into RunExternaNativelExecutable and RunExternalDotNETExecutable. When running under .NET Core, externally launched DotNET utilities must be launched via the 'dotnet' proxy to work correctly. Change 3584177 by Robert.Manuszewski Removed unused member variable (FArchiveAsync2::bKeepRestOfFilePrecached) Change 3584315 by Ben.Marsh Move Android JNI accessor functions into separate header, to decouple it from the FAndroidApplication class. Change 3584370 by Ben.Marsh Move hooks which allow platforms to load any modules into the FPlatformApplicationMisc classes. Change 3584498 by Ben.Marsh Move functions for getting and setting the hardware window pointer onto the appropriate platform window classes. Change 3585003 by Steve.Robb Fix for TChunkedArray ranged-for iteration. #jira UE-48297 Change 3585235 by Ben.Marsh Remove LogEngine extern from Core; use the platform log channels instead. Change 3585942 by Ben.Marsh Move MessageBoxExt() implementation into application layer for platforms that require it. Change 3587071 by Ben.Marsh Move Linux's UngrabAllInput() function into a callback, so DebugBreak still works without SDL. Change 3587161 by Ben.Marsh Remove headers which will be stripped out of the Core module from Core.h and PlatformIncludes.h. Change 3587579 by Steve.Robb Fix for Children list not being rebuilt after hot reload. Change 3587584 by Graeme.Thornton Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again Change 3587586 by Graeme.Thornton Changes to make UBT build and run on .NET Core - Added *_DNC csproj files for DotNETUtilities and UnrealBuildTool projects which contain the .NET Core build setups - VCSharpProjectFile can no be asked for the CsProjectInfo for a particular configuration, which is cached for future use - After loading VCSharpProjectFiles, .NET Core based projects will be excluded unless generating VSCode projects Change 3587953 by Steve.Robb Allow arbitrary UENUM initializers for enumerators. Editor-only data UENUM support. Enumerators named MAX are now treated as the UENUM's maximum, and will not cause a MAX+1 value to be generated. #jira UE-46274 Change 3589827 by Graeme.Thornton More fixes for VSCode project generation and for UBT running on .NET Core - Use a different file extension for rules assemblies when build on .NET Core, so they never get used by their counterparts - UEConsoleTraceListener supports stdout/stderror constructor parameter and outputs to the appropriate channel - Added documentation for UEConsoleTraceListener - All platforms .NET project compilation tasks/launch configs now use "dotnet" and not the normal batch files - Restored the default UBT log verbosity to "Log" rather than "VeryVeryVerbose" - Renamed assemblies for .NETCore versions of DotNETUtilities and UnrealBuildTool so they don't conflict with the output of the existing .NET Desktop Framework stuff Change 3589868 by Graeme.Thornton Separate .NET Core projects for UBT and DotNETCommon out into their own directories so that their intermediates don't overlap with the standard .NET builds, causing failures. UBT registers ONLY .NET Core C# projects when generating VSCode solutions, and ONLY standard C# projects in all other cases Change 3589919 by Robert.Manuszewski Fixing crash when cooking textures that have already been cooked for EDL (support for cooked content in the editor) Change 3589940 by Graeme.Thornton Force UBT to think it's running on mono when actually running on .NET Core. Disables a lot of windows specific code paths. Change 3590078 by Graeme.Thornton Fully disable automatic assembly info generation in .NET Core projects Change 3590534 by Robert.Manuszewski Marking UObject as intrinsic clas to fix a crash on UFE startup. Change 3591498 by Gil.Gribb UE4 - Fixed several edge cases in the low level async loading code, especially around cancellation. Also PakFileTest is a console command which can be used to stress test pak file loading. Change 3591605 by Gil.Gribb UE4 - Follow up to fixing several edge cases in the low level async loading code. Change 3592577 by Graeme.Thornton .NET Core C# projects now reference source files explicitly, to stop it accidentally compiling various intermediates Change 3592684 by Steve.Robb Fix for EObjectFlags being passed as the wrong argument to csgCopyBrush. Change 3592710 by Steve.Robb Fix for invalid casts in ListProps command. Some name changes in command output. Change 3592715 by Ben.Marsh Move Windows event log code into cpp file, and expose it to other modules even if it's not enabled by default. Change 3592767 by Gil.Gribb UE4 - Changed the logic so that engine UObjects boot before anything else. The engine classes are known to be cycle-free, so we will get them done before moving onto game modules. Change 3592770 by Gil.Gribb UE4 - Fixed a race condition with async read completion in the prescence of cancels. Change 3593090 by Steve.Robb Better error message when there two clashing type names are found. Change 3593697 by Steve.Robb VisitTupleElements function, which calls a functor for each element in the tuple. Change 3595206 by Ben.Marsh Include additional diagnostics for missing imports when a module load fails. Change 3596140 by Graeme.Thornton Batch file for running MSBuild Change 3596267 by Steve.Robb Thread safety fix to FPaths::GetProjectFilePath(). Change 3596271 by Robert.Manuszewski Added code to verify compression flags in package file summary to avoid cases where corrupt packages are crashing the editor #jira UE-47535 Change 3596283 by Steve.Robb Redundant casts removed from UHT. Change 3596303 by Ben.Marsh EC: Improve parsing of Android Clang errors and warnings, which are formatted as MSVC diagnostics to allow go-to-line clicking in the Output Window. Change 3596337 by Ben.Marsh UBT: Format messages about incorrect headers in a way that makes them clickable from Visual Studio. Change 3596367 by Steve.Robb Iterator checks in ranged-for on TMap, TSet and TSparseArray. Change 3596410 by Gil.Gribb UE4 - Improved some error messages on runtime failures in the EDL. Change 3596532 by Ben.Marsh UnrealVS: Fix setting command line to empty not affecting property sheet. Also remove support for VS2013. #jira UE-48119 Change 3596631 by Steve.Robb Tool which takes a .map file and a .objmap file (from UBT) and creates a report which shows the size of all the symbols contributed by the source code per-folder. Change 3596807 by Ben.Marsh Improve Intellisense when generated headers are missing or out of date (eg. line numbers changed, etc...). These errors seem to be masked by VAX, but are present when using the default Visual Studio Intellisense. * UCLASS macro is defined to empty when __INTELLISENSE__ is defined. Previous macro was preventing any following class declaration being parsed correctly if generated code was out of date, causing squiggles over all class methods/variables. * Insert a semicolon after each expanded GENERATED_BODY macro, so that if it parses incorrectly, the compiler can still continue parsing the next declaration. Change 3596957 by Steve.Robb UBT can be used to write out an .objsrcmap file for use with the MapFileParser. Renaming of ObjMap to ObjSrcMap in MapFileParser. Change 3597213 by Ben.Marsh Remove AutoReporter. We don't support this any more. Change 3597558 by Ben.Marsh UGS: Allow adding custom actions to the context menu for right clicking on a changelist. Actions are specified in the project's UnrealEngine.ini file, with the following syntax: +ContextMenu=(Label="This is the menu item", Execute="foo.exe", Arguments="bar") The standard set of variables for custom tools is expanded in each parameter (eg. $(ProjectDir), $(EditorConfig), etc...), plus the $(Change) variable. Change 3597982 by Ben.Marsh Add an option to allow overriding the local DDC path from the editor (under Editor Preferences > Global > Local Derived Data Cache). #jira UE-47173 Change 3598045 by Ben.Marsh UGS: Add variables for stream and client name, and the ability to escape any variables for URIs using the syntax $(VariableName:URI). Change 3599214 by Ben.Marsh Avoid string duplication when comparing extensions. Change 3600038 by Steve.Robb Fix for maps being modified during iteration in cache compaction. Change 3600136 by Steve.Robb GitHub #3538 : Fixed a bug with the handling of 'TMap' key/value types in the UnrealHeaderTool Change 3600214 by Steve.Robb More accurate error message when unsupported template parameters are provided in a TSet property. Change 3600232 by Ben.Marsh UBT: Force UHT to run again if the .build.cs file for a module has changed. #jira UE-46119 Change 3600246 by Steve.Robb GitHub #3045 : allow multiple interface definition in a file Change 3600645 by Ben.Marsh Convert QAGame to Include-What-You-Use. Change 3600897 by Ben.Marsh Fix invalid path (multiple slashes) in LibCurl.build.cs. Causes exception when scanning for includes. Change 3601558 by Graeme.Thornton Simple first pass VSCode editor integration plugin Change 3601658 by Graeme.Thornton Enable intellisense generation for VS Code project files and setup include paths properly Change 3601762 by Ben.Marsh UBT: Add support for adaptive non-unity builds when working from a Git repository. The ISourceFileWorkingSet interface is now used to query files belonging to the working set, and has separate implementations for Perforce (PerforceSourceFileWorkingSet) and Git (GitSourceFileWorkingSet). The Git implementation is used if a .git directory is found in the directory containing the Engine folder, the directory containing the project file, or the parent directory of the project file, and spawns a "git status" process in the background to determine which files are untracked or staged. Several new settings are supported in BuildConfiguration.xml to allow modifying default behavior: <SourceFileWorkingSet> <Provider>Default</Provider> <!-- May be None, Default, Git or Perforce --> <RepositoryPath></RepositoryPath> <!-- Specifies the path to the repository, relative to the directory containing the Engine folder. If not set, tries to find a .git directory in the locations listed above. --> <GitPath>git</GitPath> <!-- Specifies the path to the Git executable. Defaults to "git", which assumes that it will be on the PATH --> </SourceFileWorkingSet> Change 3604032 by Graeme.Thornton First attempt at automatically detecting the existance and location of visual studio code in the source code accessor module. Only works for windows. Change 3604038 by Graeme.Thornton Added FSourceCodeNavigation::GetSelectedSourceCodeIDE() which returns the name of the selected source code accessor. Replaced all usages of FSourceCodeNavigation::GetSuggestedSourceCodeIDE() with GetSelectedSourceCodeIDE(), where the message is referring to the opening or editing of code. Change 3604106 by Steve.Robb GitHub #3561 : UE-44950: Don't see all caps struct constructor as macro Change 3604192 by Steve.Robb GitHub #3911 : Improving ToUpper/ToLower efficiency Change 3604273 by Graeme.Thornton IWYU build fixes when malloc profiler is enabled Change 3605457 by Ben.Marsh Fix race for intiialization of ThreadID variable on FRunnableThreadWin, and restore a previous check that was working around it. Change 3606720 by James.Hopkin Dave Ratti's fix to character base recursion protection code - was missing a GetOwner call, instead attempting to cast a component to a pawn. Change 3606807 by Graeme.Thornton Disabled optimizations around FShooterStyle::Create(), which was crashing in Win64 shipping game builds due to some known compiler issue. Same variety of fix as BenZ did in CL 3567741. Change 3607026 by James.Hopkin Fixed incorrect ABrush cast - was attempting to cast a UModel to ABrush, which can never succeed Change 3607142 by Graeme.Thornton UBT - Minor refactor of BackgroundProcess shutdown in SourceFileWorkingSet. Check whether the process has already exited before trying to kill it during Dispose. Change 3607146 by Ben.Marsh UGS: Fix exception due to formatting string when Perforce throws an error. Change 3607147 by Steve.Robb Efficiency fix for integer properties, which were causing a property mismatch and thus a tag lookup every time. Float and double conversion support added to int properties. NAME_DoubleProperty added. Fix for converting enum class enumerators > 255 to int properties. Change 3607516 by Ben.Marsh PR #3935: Fix DECLARE_DELEGATE_NineParams, DECLARE_MULTICAST_DELEGATE_NineParams. (Contributed by enginevividgames) Change 3610421 by Ben.Marsh UAT: Move help for RebuildLightMapsCommand into attributes, so they display when running with -help. Change 3610657 by Ben.Marsh UAT: Unify initialization of command environment for build machines and local execution. Always derive parameters which aren't manually set via environment variables. Change 3611000 by Ben.Marsh UAT: Remove the -ForceLocal command line option. Settings are now determined automatically, independently of the -Buildmachine argument. Change 3612471 by Ben.Marsh UBT: Move FastJSON into DotNETUtilities. Change 3613479 by Ben.Marsh UBT: Remove the bIsCodeProject flag from UProjectInfo. This was only really being used to determine which projects to generate an IDE project for, so it is now checked in the project file generator. Change 3613910 by Ben.Marsh UBT: Remove unnecessary code to guess a project from the target name; doesn't work due to init order, actual project is determined later. Change 3614075 by Ben.Marsh UBT: Remove hacks for testing project file attributes by name. Change 3614090 by Ben.Marsh UBT: Remove global lookup of project by name. Projects should be explicitly specified by path when necessary. Change 3614488 by Ben.Marsh UBT: Prevent annoying (but handled) exception when constructing SQLiteModuleSupport objects with -precompile enabled. Change 3614490 by Ben.Marsh UBT: Simplify generation of arguments for building intellisense; determine the platform/configuration to build from the project file generation code, rather than inside the target itself. Change 3614962 by Ben.Marsh UBT: Move the VS2017 strict conformance mode (/permissive-) behind a command line option (-Strict), and disable it by default. Building with this mode is not guaranteed to work correctly without updated Windows headers. Change 3615416 by Ben.Marsh EC: Include an icon showing the overall status of a build in the grid view. Change 3615713 by Ben.Marsh UBT: Delete any files in output directories which match output files in other directories. Allows automatically deleting build products which are moved into another folder. #jira UE-48987 Change 3616652 by Ben.Marsh Plugins: Fix incorrect dialog when binaries for a plugin are missing. Should only prompt to disable if starting a content-only project. #jira UE-49007 Change 3616680 by Ben.Marsh Add the CodeAPI-HTML.tgz file into the installed engine build. Change 3616767 by Ben.Marsh Plugins: Tweak error message if the FModuleManager::IsUpToDate() function returns false for a plugin module; the module may be missing, not just incompatible. Change 3616864 by Ben.Marsh Cap the length of the temporary package name during save, to prevent excessively long filenames going over the limit once a GUID is appended. #jira UE-48711 Change 3619964 by Ben.Marsh UnrealVS: Fix single file compile for foreign projects, where the command line contains $(SolutionDir) and $(ProjectName) variables. Change 3548930 by Ben.Marsh UBT: Remove UEBuildModuleCSDLL; there is no codepath that still supports creating them. Remove the remaining UEBuildModule/UEBuildModuleCPP abstraction. Change 3558056 by Ben.Marsh Deprecate FString::Trim() and FString::TrimTrailing(), and replace them with separate versions to mutate (TrimStartInline(), TrimEndInline()) or return by copy (TrimStart(), TrimEnd()). Also add a functions to trim whitespace from both ends of a string (TrimStartAndEnd(), TrimStartAndEndInline()). Change 3563309 by Graeme.Thornton Moved some common C# classes into the DotNETCommon assembly Change 3570283 by Graeme.Thornton Move some code out of RPCUtility and into DotNETCommon, removing the dependency between the two projects Added UEConsoleTraceListener to replace ConsoleTraceListener, which doesn't exist in DotNetCore Change 3572811 by Ben.Marsh UBT: Add -enableasan / -enabletsan command line options and bEnableAddressSanitizer / bEnableThreadSanitizer settings in BuildConfiguration.xml (and remove environment variables). Change 3573397 by Ben.Marsh UBT: Create a <ExeName>.version file for every target built by UBT, in the same JSON format as Engine/Build/Build.version. This allows monolithic targets to read a version number at runtime, unlike when it's embedded in a modules file, and allows creating versioned client executables that will work with versioned servers when syncing through UGS. Change 3575659 by Ben.Marsh Remove CHM API documentation. Change 3582103 by Graeme.Thornton Simple ResX writer implemetation that the xbox deloyment code can use instead of the one from the windows forms assembly, which isn't supported on .NET Core Removed reference to System.Windows.Form from UBT. Change 3584113 by Ben.Marsh Move key-mapping functionality into the InputCore module. Change 3584278 by Ben.Marsh Move FPlatformMisc::RequestMinimize() into FPlatformApplicationMisc. Change 3584453 by Ben.Marsh Move functionality for querying device display density to FApplicationMisc, due to dependence on application-level functionality on mobile platforms. Change 3585301 by Ben.Marsh Move PlatformPostInit() into an FPlatformApplicationMisc function. Change 3587050 by Ben.Marsh Move IsThisApplicationForeground() into FPlatformApplicationMisc. Change 3587059 by Ben.Marsh Move RequiresVirtualKeyboard() into FPlatformApplicationMisc. Change 3587119 by Ben.Marsh Move GetAbsoluteLogFilename() into FPlatformMisc. Change 3587800 by Steve.Robb Fixes to container visualizers for types whose pointer type isn't simply Type*. Change 3588393 by Ben.Marsh Move platform output devices into their own headers. Change 3588868 by Ben.Marsh Move creation of console, error and warning output devices int PlatformApplicationMisc. Change 3589879 by Graeme.Thornton All automation projects now have a reference to DotNETUtilities Fixed a build error in the WEX automation library Change 3590034 by Ben.Marsh Move functionality related to windowing and input out of the Core module and into an ApplicationCore module, so it is possible to build utilities with Core without adding dependencies on XInput (Windows), SDL (Linux), and OpenGL (Mac). Change 3593754 by Steve.Robb Fix for tuple debugger visualization. Change 3597208 by Ben.Marsh Move CrashReporter out of a public folder; it's not in a form that is usable by subscribers and licensees. Change 3600163 by Ben.Marsh UBT: Simplify how targets are cleaned. Delete all intermediate folders for a platform/configuration, and delete any build products matching the UE4 naming convention for that target, rather than relying on the current build configuration or list of previous build products. This will ensure that build products which are no longer being generated will also be cleaned. #jira UE-46725 Change 3604279 by Graeme.Thornton Move pre/post garbage collection delegates into accessor functions so they can be used by globally constructed objects Change 3606685 by James.Hopkin Removed redundant 'Cast's (casting to either the same type or a base). In SClassViewer, replaced cast with TAssetPtr::operator* call to get the wrapped UClass. Also removed redundant 'IsA's from AnimationRetargetContent::AddRemappedAsset in EditorAnimUtils.cpp. Change 3610950 by Ben.Marsh UAT: Simplify logic for detecting Perforce settings, using environment variables if they are set, otherwise falling back to detecting them. Removes special cases for build machines, and makes it simpler to set up UAT commands on builders outside Epic. Change 3610991 by Ben.Marsh UAT: Use the correct P4 settings to detect settings if only some parameters are specified on the command line. Change 3612342 by Ben.Marsh UBT: Change JsonObject.Read() to take a FileReference parameter. Change 3612362 by Ben.Marsh UBT: Remove some more cases of paths being passed as strings rather than using FileReference objects. Change 3619128 by Ben.Marsh Include builder warnings and errors in the notification emails for automated tests, otherwise it's difficult to track down non-test failures. [CL 3620189 by Ben Marsh in Main branch]
2017-08-31 12:08:38 -04:00
void FPakPlatformFile::HandlePakCorruptCommand(const TCHAR* Cmd, FOutputDevice& Ar)
{
#if USE_PAK_PRECACHE
FPakPrecacher::Get().SimulatePakFileCorruption();
#endif
}
#endif // !UE_BUILD_SHIPPING
FPakPlatformFile::FPakPlatformFile()
: LowerLevel(NULL)
, bSigned(false)
{
FCoreDelegates::GetRegisterEncryptionKeyDelegate().BindRaw(this, &FPakPlatformFile::RegisterEncryptionKey);
// Register an empty guid against an empty key. An empty guid means use the embedded AES key, which will be looked up dynamically on request. This is done for data hiding purposes, but
// if we decide that there is no point protecting the embedded key, we could cache it here for speed purposes.
RegisterEncryptionKey(FGuid(), FAES::FAESKey());
}
FPakPlatformFile::~FPakPlatformFile()
{
FCoreDelegates::OnMountPak.Unbind();
FCoreDelegates::OnUnmountPak.Unbind();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if USE_PAK_PRECACHE
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3386108) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3345860 on 2017/03/14 by Daniel.Lamb Fixed crash when building DLC #test Cook paragon. Change 3347324 on 2017/03/15 by Gil.Gribb UE4 - Removed old code relating to FAsyncArchive, FAsyncIOSubsystemBase and package level compression. The editor now uses the lowest levels on the new async IO scheme. Change 3347331 on 2017/03/15 by Robert.Manuszewski Fix for a crash caused by GC killing BP class (due to no strong references) but its CDO is being kept alive because it was in the same cluster as the class and was not marked as pending kill. #jira UE-42732 Change 3347371 on 2017/03/15 by Graeme.Thornton Fix for runtime asset cache not invalidating files with an outdated version number Change 3349161 on 2017/03/16 by Steve.Robb Generated UFUNCTION FNames no longer exported. Misc refactors of code generation. Change 3349167 on 2017/03/16 by Steve.Robb Unused TBoolConstant removed (the more general TIntegralConstant should be used instead). Change 3349274 on 2017/03/16 by Gil.Gribb UE4 - Fix loading a package that is already loaded. Change 3349534 on 2017/03/16 by Ben.Marsh UBT: Check that the SN-DBS service is running before attempting to use it. Change 3349612 on 2017/03/16 by Gil.Gribb UE4 - Increased estimate of summary size. Change 3350021 on 2017/03/16 by Gil.Gribb UE4 - Fixed crash in signature checks when mounting pak files. Change 3350052 on 2017/03/16 by Ben.Marsh Remove invalid characters from macro names before passing as macro values. Prevents compile errors for projects which have apostrophes in the name. Change 3350360 on 2017/03/16 by Ben.Marsh UAT: Fix non-threadsafe access of ExeToTimeInMs when spawning external processes. Change 3351670 on 2017/03/17 by Ben.Marsh UBT: Ignore all default libraries when creating import libs. Sometimes #pragma comment(lib, ...) directives can add force additional libraries onto the linker/librarian command line. We don't want or need these included when generating import libraries, but they can cause errors due to search paths not being able to find them. Change 3352289 on 2017/03/17 by Ben.Marsh Fix issues working with > 2GB archives caused by truncation of the return value from FArchive::Tell() down to 32-bits. Change 3352390 on 2017/03/17 by Ben.Marsh Remove unused/out of date binaries for CrashReporter. Change 3352392 on 2017/03/17 by Ben.Marsh Remove UnrealDocTool binaries. This is distributed through a Visual Studio plugin now. Change 3352410 on 2017/03/17 by Ben.Marsh Remove P4ChangeReporter. I don't believe this is used any more. Change 3352450 on 2017/03/17 by Ben.Marsh Disable including CrashReporter by default when packaging projects. This is only useful with a CrashReporter backend set up, which only usually applies to Epic internal projects. Change 3352455 on 2017/03/17 by Ben.Marsh Remove RegisterPII and TranslatedWordsCountEstimator executables. Don't believe these are used any more. Change 3352940 on 2017/03/17 by Wes.Hunt Update CRP to not send Slack queue size updates unless the waiting time is greater than 1 minute. #codereview: jin.zhang Change 3353658 on 2017/03/20 by Steve.Robb Fix for crash when importing a BP which has a populated TMap with an enum class key. Change 3354056 on 2017/03/20 by Steve.Robb TAssetPtr<T> can now be constructed from a nullptr without a full definition of T. Change 3356111 on 2017/03/21 by Graeme.Thornton Fix for UE-34131 - Support double and fname stat types in UFE stat export to CSV #jira UE-34131 Change 3358584 on 2017/03/22 by Daniel.Lamb Fixed the garbage collection keep flags when cleaning the sandbox for iterative cooking. #test Cook shootergame Change 3360379 on 2017/03/23 by Gil.Gribb UE4 - Avoid adding a linker annotation if it actually hasn't changed. Improves ConditionalBeginDestroy performance. Change 3360623 on 2017/03/23 by Gil.Gribb UE4 - Change from MarcA to avoid a redudnant removal of PrimitiveComponent from the streaming managers during ConditionalBeginDestroy. Change 3360627 on 2017/03/23 by Gil.Gribb UE4 - Optimized UObject hash tables for speed and space. Change 3361183 on 2017/03/23 by Gil.Gribb UE4 - Fixed change to NotifyPrimitiveDetached so that it works in the editor. Change 3361906 on 2017/03/23 by Steve.Robb Fix for a bad hint index when instantiating map property subobjects when the defaults has fewer but non-zero elements. #jira UE-43272 Change 3362839 on 2017/03/24 by Gil.Gribb UE4 - Fixed hash table lock optimization. Change 3367348 on 2017/03/28 by Robert.Manuszewski Making sure streamed-in SoundWaves get added to GC clusters. Change 3367386 on 2017/03/28 by Ben.Marsh EC: Pass the Semaphores property from a build type as a parameter to new build jobs. Change 3367422 on 2017/03/28 by Ben.Marsh EC: Allow limiting the number of scheduled jobs that will be automatically run at a particular time. Each build type can have a 'Semaphores' property in the branch settings file, which will be copied to newly created jobs. Before scheduling new jobs, EC is queried for the 'Semaphores' property on any running jobs, and build types with existing semaphores will be skipped. Does not prevent jobs from being run manually. Change 3367469 on 2017/03/28 by Ben.Marsh EC: Prevent multiple incremental jobs running at once. Change 3367640 on 2017/03/28 by Ben.Marsh Plugins: Add an optional EngineVersion field back into the plugin descriptor. If set, the engine will warn if the plugin is not compatible with the current engine version. Plugins will set this field by default when packaging; pass -Unversioned to override. Change 3367836 on 2017/03/28 by Uriel.Doyon Improved handled of references in the streaming manager Change 3369354 on 2017/03/29 by Graeme.Thornton Added AES encrypt/decrypt functions that take a byte array for the key Change 3369804 on 2017/03/29 by Ben.Marsh Remove incorrect "EngineVersion" settings from plugin descriptors. Change 3370462 on 2017/03/29 by Ben.Marsh Editor: Install Visual Studio 2017 by default, instead of Visual Studio 2015. Changed to use ExecElevatedProcess() to prevent installer failing to run if the current user is not already an administrator. #jira UE-43467 Change 3371598 on 2017/03/30 by Ben.Marsh UBT: Fix message for missing toolchain in VS2017. Change 3372827 on 2017/03/30 by Ben.Marsh BuildGraph: Output an error at the end of each step if any previous build products have been modified. Change 3372947 on 2017/03/30 by Ben.Marsh [Merge] Always add the host editor platform as supported in an installed build. Not doing so prevents the build platform being registered in UBT, which prevents doing any platform-specific staging operations in UAT. Change 3372958 on 2017/03/30 by Ben.Marsh [Merge] Simplify log output for cooks. Suppress additional timestamps from the editor when running through UAT. Change 3372981 on 2017/03/30 by Ben.Marsh [Merge] Modular game fixes for UAT * Store list of executable names from the receipts instead of generating them from Target/Platform/Config/Architecture combination * Get full list of staged executables from receipts instead of assuming only non-code projects are in Engine * Always pass short project name as Bootstrap argument, so that modular game exe knows which project to start Change 3373024 on 2017/03/30 by Ben.Marsh [Merge] Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep. Change 3373041 on 2017/03/30 by Ben.Marsh [Merge] Added UAT script to replace assets with another source Renamed ReplaceAssetsCommandlet to GenerateAssetsManifest as it now outputs a list of files and has nothing specific about replacing files Change 3373052 on 2017/03/30 by Ben.Marsh [Merge] Changed CopyUsingDistillFileSet command so that it can use a pre-existing manifest file instead of running commandlet Change 3373092 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash attempting to load cooked static mesh in editor Change 3373112 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash caused by loading cooked StaticMesh in editor that didn't have any SourceModels Change 3373132 on 2017/03/30 by Ben.Marsh [Merge] Added Additional Maps that are always cooked to the GenerateDistillFileSetsCommandlet Change 3373138 on 2017/03/30 by Ben.Marsh [Merge] Fixed code issue with playback of cooked SoundCues Skip over code using editor only data when editor data has been stripped Change 3373143 on 2017/03/30 by Ben.Marsh [Merge] Fixed crash when attempting to open multiple cooked assets Change 3373156 on 2017/03/30 by Ben.Marsh [Merge] Added commandlet to replace game assets with those from another source (intended for cooked asset replacement) Change 3373161 on 2017/03/30 by Ben.Marsh [Merge] Prevented crash by not attempting to Load Mips again if a package has cooked data Change 3373168 on 2017/03/30 by Ben.Marsh [Merge] Fix output path for DLC pak file, so it can be discovered by the engine and automatically mounted (and to stop it colliding with the main game pak file). Change 3373204 on 2017/03/30 by Ben.Marsh [Merge] Fix crash when switching levels in PIE, due to bulk data already having been discarded for cooked assets. Cooking sets BULKDATA_SingleUse for textures, but PIEing needs to keep bulk data around. Change 3373209 on 2017/03/30 by Ben.Marsh [Merge] Fix missing material in mod editor for cooked assets. Change 3373388 on 2017/03/30 by Ben.Marsh [Merge] Various improvements to the plugin browser and new plugin wizard from Robo Recall. Change 3374200 on 2017/03/31 by Ben.Marsh [Merge] Latest OdinEditor plugin from //Odin/Main, to fix build failures. Re-made change to OdinUnrealEdEngine to remove dependencies on analytics. Change 3374279 on 2017/03/31 by Ben.Marsh PR #3441: Invalid JSON in FeaturePacks (Contributed by projectgheist) Change 3374331 on 2017/03/31 by Ben.Marsh UBT: Disable warning pragmas on Mono; not supported on current compiler. #jira UE-43451 Change 3375108 on 2017/03/31 by Ben.Marsh Removing another plugin EngineVersion property. Change 3375126 on 2017/03/31 by Ben.Marsh Fix incorrect executable paths being generated for Windows. Change 3375159 on 2017/03/31 by Graeme.Thornton Pak Index Encryption - Added "-encryptindex" option to unrealpak which will encrypt the pak index, making the pak file unreadable without the associated decryption key - Added "-encryptpakindex" option to UAT to force on index encryption - Added "bEncryptPakIndex" setting to project packaging settings so pak encryption can be controlled via the editor Change 3375197 on 2017/03/31 by Graeme.Thornton Enable pak index encryption in shootergame Change 3375377 on 2017/03/31 by Ben.Marsh Add build node to submit updated UnrealPak binaries for Win64, Mac and Linux. Currently has to be run via a custom build on EC, with the target set to "Submit UnrealPak Binaries". Change 3376418 on 2017/04/03 by Ben.Marsh BuildGraph: Always clear the cached node state when running locally without having to manually specify the -ClearHistory argument. The -Resume argument allows the previous behavior of continuing a previous build. Change 3376447 on 2017/04/03 by Ben.Marsh Build: Remove some unused stream settings Change 3376469 on 2017/04/03 by Ben.Marsh Build: Add a customizable field for the script to use for custom builds in every branch. Change 3376654 on 2017/04/03 by Ben.Marsh Add a fatal error message containing the module with an outstanding reference when trying to unload it. #jira UE-42423 Change 3376747 on 2017/04/03 by Gil.Gribb UE4 - Fixed crash relating to FGenericAsyncReadFileHandle when not using the EDL. Change 3377173 on 2017/04/03 by Ben.Marsh Make sure callstacks are written to stdout following a crash on a background thread. Change 3377183 on 2017/04/03 by Ben.Marsh Removing support for building VS2013 targets. Ability to generate VS2013 project files is still allowed, but unsupported (via the -2013unsupported command line argument). Change 3377280 on 2017/04/03 by Ben.Marsh Build: Post UGS badges for all UE4 development streams, with the project set to $(Branch)/... Change 3377311 on 2017/04/03 by Ben.Marsh Build: Set the 'Semaphores' parameter for any jobs started from a schedule. Change 3377326 on 2017/04/03 by Ben.Marsh UGS: Show badges which match an entire subtree if the project field ends with "...". Change 3377392 on 2017/04/03 by Ben.Marsh Add badges to UE4/Main and UE4/Release streams, and change the names of the builds in development streams to distinguish them. Change 3377895 on 2017/04/03 by Ben.Marsh EC: Send notification emails whenever UAT fails to compile. Change 3377923 on 2017/04/03 by Ben.Marsh Build: Use a different semaphore for the common editors build target to the incremental compile build target. Change 3378297 on 2017/04/04 by Graeme.Thornton Fix incorrect generation of UE_ENGINE_DIRECTORY in UBT Change 3378301 on 2017/04/04 by Ben.Marsh UBT: Try enabling bAdaptiveUnityDisablesPCH by default, to reduce the number of build failures we see due to missing includes. Change 3378460 on 2017/04/04 by Graeme.Thornton Remove dependency preloading system from sync and async loading paths Change 3378535 on 2017/04/04 by Robert.Manuszewski Fix for audio crash when launching Ocean PIE after removing the audio chunk allocation in CL #3347324 #jira UE-43544 Change 3378575 on 2017/04/04 by Robert.Manuszewski Making sure actor clusters are not created in non-cooked builds #jira UE-43617 #jira UE-43614 Change 3378589 on 2017/04/04 by Robert.Manuszewski Disabling debug GC cluster logging #jira UE-43617 Change 3379118 on 2017/04/04 by Robert.Manuszewski Disabling actor clustering by default, keeping it on in Orion and Ocean Change 3379815 on 2017/04/04 by Ben.Marsh Revert change to derive executable names from target receipts. While a better solution than making them up, Android relies on having the base executable names for supporting multiple architectures. Change 3380811 on 2017/04/05 by Gil.Gribb UE4 - Put the special boot order things into baseengine.ini so that licensees and games can add to it. Change 3383313 on 2017/04/06 by Uriel.Doyon Integrated CL 3372436 3372765 3373272 from Dev-Rendering #JIRA UE-43669 Change 3383531 on 2017/04/06 by Ben.Marsh UGS: Ignore failures when querying whether paths exist. Permissions can cause this folder to fail, even if it will succeed at a parent directory. Change 3383786 on 2017/04/06 by Ben.Zeigler Back out changelist 3382694 and replace with CL #3383757 from bob.tellez: Fix memory stomping issue caused by removing a FFortProfileSynchronizeRequest from SynchronizeRequests in UFortRegisteredPlayerInfo::UpdateSynchronizeRequest before SynchronizeProfile had finished executing Change 3385089 on 2017/04/07 by Gil.Gribb UE4 - Critical. Fixed memory leak in pak precacher. [CL 3386123 by Ben Marsh in Main branch]
2017-04-10 11:00:33 -04:00
FPakPrecacher::Shutdown();
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#endif
{
FScopeLock ScopedLock(&PakListCritical);
for (int32 PakFileIndex = 0; PakFileIndex < PakFiles.Num(); PakFileIndex++)
{
delete PakFiles[PakFileIndex].PakFile;
PakFiles[PakFileIndex].PakFile = nullptr;
}
}
}
void FPakPlatformFile::FindPakFilesInDirectory(IPlatformFile* LowLevelFile, const TCHAR* Directory, TArray<FString>& OutPakFiles)
{
// Helper class to find all pak files.
class FPakSearchVisitor : public IPlatformFile::FDirectoryVisitor
{
TArray<FString>& FoundPakFiles;
IPlatformChunkInstall* ChunkInstall;
public:
FPakSearchVisitor(TArray<FString>& InFoundPakFiles, IPlatformChunkInstall* InChunkInstall)
: FoundPakFiles(InFoundPakFiles)
, ChunkInstall(InChunkInstall)
{}
virtual bool Visit(const TCHAR* FilenameOrDirectory, bool bIsDirectory)
{
if (bIsDirectory == false)
{
FString Filename(FilenameOrDirectory);
if (FPaths::GetExtension(Filename) == TEXT("pak"))
{
// if a platform supports chunk style installs, make sure that the chunk a pak file resides in is actually fully installed before accepting pak files from it
if (ChunkInstall)
{
int32 ChunkID = ParseChunkIDFromFilename(Filename);
if (ChunkID != INDEX_NONE)
{
if (ChunkInstall->GetChunkLocation(ChunkID) == EChunkLocation::NotAvailable)
{
return true;
}
}
}
FoundPakFiles.Add(Filename);
}
}
return true;
}
};
// Find all pak files.
FPakSearchVisitor Visitor(OutPakFiles, FPlatformMisc::GetPlatformChunkInstall());
LowLevelFile->IterateDirectoryRecursively(Directory, Visitor);
}
void FPakPlatformFile::FindAllPakFiles(IPlatformFile* LowLevelFile, const TArray<FString>& PakFolders, TArray<FString>& OutPakFiles)
{
// Find pak files from the specified directories.
for (int32 FolderIndex = 0; FolderIndex < PakFolders.Num(); ++FolderIndex)
{
FindPakFilesInDirectory(LowLevelFile, *PakFolders[FolderIndex], OutPakFiles);
}
// alert anyone listening
if (OutPakFiles.Num() == 0)
{
FCoreDelegates::NoPakFilesMountedDelegate.Broadcast();
}
}
void FPakPlatformFile::GetPakFolders(const TCHAR* CmdLine, TArray<FString>& OutPakFolders)
{
#if !UE_BUILD_SHIPPING
// Command line folders
FString PakDirs;
if (FParse::Value(CmdLine, TEXT("-pakdir="), PakDirs))
{
TArray<FString> CmdLineFolders;
PakDirs.ParseIntoArray(CmdLineFolders, TEXT("*"), true);
OutPakFolders.Append(CmdLineFolders);
}
#endif
// @todo plugin urgent: Needs to handle plugin Pak directories, too
// Hardcoded locations
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3548365) #lockdown Nick.Penwarden ============================ MAJOR FEATURES & CHANGES ============================ Change 3494741 by Steve.Robb Generated code size savings. #jira UE-43048 Change 3495484 by Steve.Robb Fix for generated indices of static arrays when saving configs. Change 3497926 by Robert.Manuszewski Removed FPackageFileSummary's CompressedChunks array as it was no longer being used by anything. Change 3498077 by Robert.Manuszewski Only use the recursion guard in async loading code when the event driven loader is enabled. Change 3498112 by Ben.Marsh UBT: Respect the option to not create debug info in the Android toolchain. This option is already being respected by the compiler, but the linker adds debug info of its own. Change 3500239 by Robert.Manuszewski Made sure the Super Class token stream is also locked when assembling Class token stream with async loading thread enabled. This to to prevent race conditions when loading BP classes. Change 3500395 by Steve.Robb Extra codegen savings when not in hot reload. Change 3501004 by Steve.Robb EObjectFlags now have constexpr operators. Change 3502079 by Ben.Marsh UBT: Pad multi-line error messages so that they align under the prefix for the first line, and include the timestamp if necessary. Change 3502527 by Steve.Robb Fix for zero-sized array compile error in generated code when all functions are editor-only. Change 3502542 by Ben.Marsh UAT: Remove the custom source parameter from log functions, and add support for a customizable indent instead. Change 3502868 by Steve.Robb Workaround for inefficient generated code with stateless lambdas on Clang. Change 3503550 by Steve.Robb Another generated code lambda optimization. Change 3503582 by Ben.Marsh BuildGraph: Add support for nullable parameter types. Change 3504424 by Steve.Robb New AllOf, AnyOf and NoneOf algorithms. Change 3504712 by Ben.Marsh UAT: Less spammy log and error output from UAT. * Callstacks for AutomationExceptions are suppressed by default but still included in the log (the path to the log is noted in console output with the message from the exception). * Add a mechanism for any exceptions to be caught and rethrown with additional lines of context (CommandUtils.AddContext()) that will be appended to the error output by UAT. Avoids decaying the exception type or masking the inner exception message while still adding additional information. * AggregateExceptions resulting from exceptions on child threads are automatically unwrapped (full details are still appended to the log) * Name of the calling function is not included in console output by default, but still included in the log. Change 3504808 by Ben.Marsh UAT: Suppress P4 output when running a recursive instance of UAT. Change 3505044 by Steve.Robb Code generation improved for TCppClassType code. Change 3505485 by Ben.Marsh Fix deterministic cooking issue; always use a pseudo-random number stream when compiling a module. Change 3505699 by Ben.Marsh Plugins: Store the bEnabledByDefault flag exactly as it was read from disk rather than collapsing it to an absolute value based on the default for the location it was read from. This allows loading/saving plugin descriptors without any knowledge of whether they are game or engine plugins. Change 3506055 by Ben.Marsh UAT: Add a class to apply a log indent for the lifetime of an object (ScopedLogIndent), and use it to apply an indent to MegaXGE/ParallelExecutor output. Change 3507745 by Robert.Manuszewski Moved FSimpleObjectReferenceCollectorArchive and FSimpleObjectReferenceCollectorArchive to be internal archives used only by FReferenceCollector so that they are constructed only once per GC task instead of potentially multiple times per GC (as was the case with UDataTables and BlueprintGeneratedClasses). Change 3507911 by Ben.Marsh Plugins: Minor changes to plugin descriptors. * Add a distinct setting for an unspecified EnabledByDefault setting in plugin descriptors. * Add a function to IPlugin to determine the effective EnabledByDefault setting, based on where the plugin was loaded from. Change 3508669 by Ben.Marsh EC: Parse multi-line messages from UBT and UAT. Change 3508691 by Ben.Marsh Fix double-spacing of cook stats. Change 3509245 by Steve.Robb UHT makefiles removed. Flag audit removed. Change 3509275 by Steve.Robb Fix for mismatched stat categories in AudioMixer. #jira UE-46129 Change 3509289 by Robert.Manuszewski Custom Version Container will no longer be always constructed in FArchive constructor. This reduces the number of the Custom Version Container allocations considerably. Change 3509294 by Robert.Manuszewski UDataTable::AddReferencedObjects will no longer try to iterate over the RowMap if there's no UObject references in it. Change 3509312 by Steve.Robb GitHub# 3679: Add TArray constructor that takes a raw pointer and a count Check improved for Append() to allow nullptr in empty ranges, and added to new constructor too. #jira UE-46136 Change 3509396 by Steve.Robb GitHub# 3676: Fix TUnion operator<< compile error #jira UE-46099 Change 3509633 by Steve.Robb Fix for line numbers on multiline macros. Change 3509938 by Gil.Gribb UE4 - Fix rare assert involving cancelled precache requests and non-pak-file loading. Change 3510593 by Daniel.Lamb Fixed up unsoilicited files getting populated with files which aren't finished being created yet. #test None Change 3510594 by Daniel.Lamb Fixed up temp files directory for patching. Thanks David Yerkess @ Milestone #review@Ben.Marsh Change 3511628 by Ben.Marsh PR #3707: Fixed UBT stack size (Contributed by gildor2) Change 3511808 by Ben.Marsh Optimize checks for whether the game project contains source code. Now stops as soon as the first file is found and ignores directories beginning with a '.' character (eg. .git) #jira UE-46540 Change 3512017 by Ben.Marsh Plugins: Deprecate the QueryStatusForAllPlugins() function; the same functionality is available via the IPlugin interface. Change 3513935 by Steve.Robb Reverted array iteration in FPropertyNode::PropagatePropertyChange as this is now covered in TProperty::InitializeValueInternal() as of CL# 3293477. Change 3514142 by Steve.Robb MemoryProfiler2 added to generated solution. Change 3516463 by Ben.Marsh Plugins: Create a manifest for each PAK file containing all the plugin descriptors in one place. Eliminates need to recurse through directories and read separate multiple files in serial at startup, and allows reading all plugin descriptors with one read. The "Mods" directory is excluded from the manifest, since these are intended to be installed separately by the user. Change 3517860 by Ben.Marsh PR #3727: FString Dereference Fixes (Contributed by jovisgCL) Change 3517967 by Ben.Marsh Suppress additional system error dialogs when loading DLLs if -unnattended is on the command line. Change 3518070 by Steve.Robb Disable Binned2 stats in shipping non-editor builds. Change 3520079 by Steve.Robb Fixed bad codegen TAssetPtrs being passed into BlueprintImplementableEvent functions. #jira UE-24034 Change 3520080 by Robert.Manuszewski Made max package summary size to be configurable with ini setting Change 3520083 by Steve.Robb Force a GC after hot reload to clean up reinstanced objects which may still tick. #jira UE-40421 Change 3520480 by Robert.Manuszewski Improved assert message when the initial package read request was too small. Change 3520590 by Graeme.Thornton SignedArchiveReader optimizations - Loads more stats - Stop chunk cache worker from waking up continuously to poll for work. Only wake up when triggered by the archive reader - Signed archive reader just yields when waiting for buffers to finish loading, rather than sleeping for some arbitrary amount of time - Track the number of pending read requests in an atomic counter, to save having to lock the request queue to check for new entries Change 3521023 by Graeme.Thornton Remove spin from signed archive reader. Main thread waits on an event triggered by the chunk worker to indicate that new chunks are ready for processing Change 3521787 by Ben.Marsh PR #3736: Small static code analysis fixes (Contributed by jovisgCL) Change 3521789 by Ben.Marsh PR #3735: Fix case sensitivity issue in FWindowsPlatformProcess::IsApplicationRunning. (Contributed by samhocevar) Change 3524721 by Ben.Marsh Move Linux SDL initialization into FLinuxPlatformApplicationMisc. Attempting to move functionality related to interactive applications (graphics, input, etc...) into a separate place, so it can ultimately be moved out of Core. Change 3524741 by Ben.Marsh Move PumpMessages() into FPlatformApplicationMisc. Change 3525399 by Ben.Marsh UGS: Use the default Perforce server port when opening P4V if there is not one set in the environment. Change 3525743 by Ben.Marsh UAT: Add a parameter to allow updating version files without updating Version.h, to allow faster link times on incremental builds. Change 3525746 by Ben.Marsh EC: Include the clobber option on new workspaces, to allow overriding version files when syncing. Change 3526453 by Ben.Marsh UGS: Do not generate project files when syncing precompiled binaries. Change 3527045 by Ben.Marsh Fix hot reload generating import libraries without DLLs. Now that they are produced by separate actions by default, it was removing DLLs from the action graph due to the bSkipLinkingWhenNothingToCompile setting. Change 3527420 by Ben.Marsh UGS: Add additional search paths for UGS config files, and fix a few cosmetic issues (inability to display ampersands in tools menu, showing changelist -1 when running a tool without syncing). Config files are now read from: Engine/Programs/UnrealGameSync/UnrealGameSync.ini Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini If a project is selected: <ProjectDir>/Build/UnrealGameSync.ini <ProjectDir>/Build/NotForLicensees/UnrealGameSync.ini If the .uprojectdirs file is selected: Engine/Programs/UnrealGameSync/DefaultProject.ini Engine/Programs/UnrealGameSync/NotForLicensees/DefaultProject.ini Change 3528063 by Ben.Marsh Fix non-thread safe construction of FPluginManager singleton. Length of time spent in the constructor resulted in multiple instances being constructed at startup, making the time to enumerate plugins on slow media significantly worse. Change 3528415 by Ben.Marsh UAT: Remove \r characters from the end of multiline log messages. Change 3528427 by Ben.Marsh EC: Fix spaces being converted to tabs at start of line in failure emails (by Gmail), and wrap following lines at the same indent. Change 3528485 by Ben.Marsh EC: Remove zero-width word break characters from slashes in notification emails; can cause really hard to debug problems when copy pasted into other places. Change 3528505 by Steve.Robb PR #3755: MallocProfiler - Remove subfolder from profiling save directory (Contributed by Josef-CL) #jira UE-46819 Change 3528772 by Robert.Manuszewski Enabling actor and blueprint clustering in ShooterGame Change 3528786 by Robert.Manuszewski PR #3760: Fix typo (Contributed by jesseyeh) Change 3528792 by Steve.Robb PR #3764: MallocProfiler - Refactoring Scopelock (Contributed by Josef-CL) #jira UE-46962 Change 3528941 by Robert.Manuszewski Fixed lazy object pointers not being updated for streaming sub-levels in PIE. Fixed lazy pointers returning object that is still being loaded which could lead to undefined behavior when client code started modifying the returned object. #jira UE-44996 Change 3530241 by Ben.Marsh UAT: Only pass -submit or -nosubmit to child instances of UAT if they were specified on the original command line. BuildCookRun uses this flag to determine whether to submit, rather than just whether to allow submitting, so we shouldn't pass an inferred value. Change 3531377 by Ben.Marsh Plugins: Allow plugins to specify a list of supported target platforms, which is propagated to any .uproject file that enables it. This has several advantages over the per-module platform whitelist/blacklist: * Platform-specific .uplugin files can now be excluded when staging other platforms. Previously, it was only possible to determine which platforms a plugin supports by reading the plugin descriptor itself. Now that information is copied into the .uproject file, so the runtime knows which plugins to ignore. * References to dependent plugins from platform-specific plugins can now be eliminated. * Plugins containing content can now be unambiguously disabled on a per-platform basis (having no modules for a platform does not confer that a plugin doesn't support that platform; now it is possible to specify supported platforms explicitly). * The editor can load any plugins without having to whitelist supported editor host platforms. UE4 targets which support loading plugins for target platforms can set TargetRules.bIncludePluginsForTargetPlatforms (true for the editor by default, false for any other target types). This defines the LOAD_PLUGINS_FOR_TARGET_PLATFORMS macro at runtime, which allows the plugin system to filter which plugins to look for at runtime. Any .uproject file will be updated at startup to contain the list of supported platforms for each referenced plugin if necessary. Change 3531502 by Jin.Zhang Add support for GPUCrash #rb Change 3531664 by Ben.Marsh UBT: Change output format from C# JSON writer to match output by the engine. Change 3531848 by Ben.Marsh UAT: Add script to resaving all project descriptors under a folder, embedding information for any supported platforms for the plugins they enable. Change 3531869 by Ben.Marsh UAT: Add parameter to the ResaveProjectDescriptors command to update the engine association field. Change 3532474 by Ben.Marsh UBT: Use the same mechanism as UAT for logging exceptions. Change 3532734 by Graeme.Thornton Initial VSCode Support - Tasks generated for building all game/engine/program targets - Debugging support for targets on Win64 Change 3532789 by Steve.Robb FScriptSet::Add and TScriptMap::Add now replace the element, matching the behavior of TSet and TMap. Set_Add and Map_Add no longer have a return value. FScriptSet::Find and FScriptMap::Find functions are now FindIndex. FScriptSetHelper::FindElementFromHash is now FindElementIndexFromHash. Change 3532845 by Steve.Robb Obsolete UHT settings deleted. Change 3532875 by Graeme.Thornton VSCode - Add debug targets for different target configurations - Choose between VS debugger (windows) and GDB (mac/linux) Change 3532906 by Graeme.Thornton VSCode - Point all builds directly at UBT rather than the batch files - Adjust mac build tasks to run through mono Change 3532924 by Ben.Marsh UAT: Set the UAT working directory immediately on startup. This ensures that any command line arguments containing paths are resolved consistently to the branch root. Change 3535234 by Graeme.Thornton VSCode - Pass intellisense system a list of paths to use for header resolution Change 3535247 by Graeme.Thornton UBT - Add a ToString to ProjectFile.Source file to help with debugger watch presentation Change 3535376 by Graeme.Thornton VSCode - Added build jobs for C# projects - Linked launch tasks to relevant build task Change 3537083 by Ben.Marsh EC: Change P4 swarm links to start at the changelist for a build. Change 3537368 by Graeme.Thornton Fix for crash in FSignedArchiveReader when multithreading is disabled Change 3537550 by Graeme.Thornton Fixed a crash in the taskgraph when running single threaded Change 3537922 by Steve.Robb Missing PF_ATC_RGBA_I added to FOREACH_ENUM_EPIXELFORMAT. Change 3539691 by Graeme.Thornton VSCode - Various updates to get PC and Mac C++ projects building and debugging. - Some other changes to C# setup to allow compilation. Debugging doesn't work. Change 3539775 by Ben.Marsh Plugins: Various fixes to settings for enabling plugins. * Fix crash on startup when trying to disable a missing plugin (was keeping pointers to elements in the project's plugin reference array, which may be modified if a plugin is disabled). * Revert fix to set PluginDescriptor.bRequiresBuildPlatform = true by default. This was the originally intended behavior, but it was accidentally defaulted to false during serialization unless specified in the .uplugin file. Many plugins may rely on this behavior (they may not declare asset classes otherwise, for example, which could result in loss of data), so change the default value to false instead. Also fixes popups to disable platform-specific plugins if platform SDKs are not installed. * Fix plugins which are referenced but do not exist not showing the appropriate prompt to disable them. Change 3540788 by Ben.Marsh UBT: Add support for declaring custom pre-build steps and post-build steps from .target.cs files. Similarly to the custom build steps configurable from .uproject and .uplugin files, these specify commands which will be executed by the host platform's shell before or after a build. The following variables are expanded within the list of commands before execution: $(EngineDir), $(ProjectDir), $(TargetName), $(TargetPlatform), $(TargetConfiguration), $(TargetType), $(ProjectFile). Example usage: public class UnrealPakTarget : TargetRules { public UnrealPakTarget(TargetInfo Target) : base(Target) { Type = TargetType.Program; LinkType = TargetLinkType.Monolithic; LaunchModuleName = "UnrealPak"; if(HostPlatform == UnrealTargetPlatform.Win64) { PreBuildSteps.Add("echo Before building:"); PreBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)"); PostBuildSteps.Add("echo After building!"); PostBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)"); } } } Change 3541664 by Graeme.Thornton VSCode - Add problemMatcher tag to cpp build targets Change 3541732 by Graeme.Thornton VSCode - Change UBT command line switch to "-vscode" for simplicity Change 3541967 by Graeme.Thornton VSCode - Fixes for Mac/Linux build steps Change 3541968 by Ben.Marsh CRP: Pass through the EnabledPlugins element in crash context XML files. #jira UE-46912 Change 3542519 by Ben.Marsh UBT: Add chain of references to error messages when configuring plugins. Change 3542523 by Ben.Marsh UBT: Add more useful error message when attempt to parse a JSON object fails. Change 3542658 by Ben.Marsh UBT: Include a chain of references when reporting errors instantiating modules. Change 3543432 by Ben.Marsh Plugins: Fix plugins which are enabled by default not being enabled unless a project file is set. Change 3543436 by Ben.Marsh UBT: Prevent recursing through the same module more than once when building out the referenced modules. Produces much shorter reference chains when something fails. Change 3543536 by Ben.Marsh UBT: Downgrade message about redundant plugin references to a warning. Change 3543871 by Gil.Gribb UE4 - Fixed a critical crash bug with non-EDL loading from pak files. Change 3543924 by Robert.Manuszewski Fixed a crash on UnrealFrontend startup caused by re-assembling GC token stream for one of the classes. +Small optimization to token stream generation code. Change 3544469 by Jin.Zhang Crashes page displays the list of plugins from the crash context #rb Change 3544608 by Steve.Robb Fix for nativized generated code. #jira UE-47452 Change 3544612 by Ben.Marsh Add callback into FMacPlatformMisc::PumpMessages() from FMacPlatformApplicationMisc::PumpMessages(). #jira UE-47449 Change 3545954 by Gil.Gribb Fixed a critical crash bug relating to a race condition in async package summary reading. Change 3545968 by Ben.Marsh UAT: Fix incorrect username in BuildGraph <Submit> task. Should use the username from the Perforce environment, not assume the logged in user name is the same. #jira UE-47419 Change 3545976 by Ben.Marsh EC: Delete the AutoSDK client if the directory doesn't exist. When we format build machines, we need to force everything to be resynced from scratch. Change 3546185 by Ben.Marsh Hacky fix for deployment on IOS/TVOS. Since deployment directly references the NonUFS manifest files that are written out, merge all the SystemNonUFS files back into the NonUFS list after the regular NonUFS files have been remapped. Change 3547084 by Gil.Gribb Fixed a critical race condition in the new async loader. This was only reproducible on IOS, but may affect other platforms. Change 3547968 by Gil.Gribb Fixed critical race which potentially could cause a crash in the pak precacher. Change 3504722 by Ben.Marsh BuildGraph: Improved tracing for error messages. All errors are now propagated as exceptions, and are tagged with additional context information about the task currently being run. For example, throwing new AutomationException("Unable to write foo.txt") from SetVersionTask.Execute is now displayed in the log as: ERROR: Unable to write to foo.txt while executing <SetVersion Change="0" CompatibleChange="0" Branch="Unknown" Promoted="True" /> at Engine\Build\InstalledEngineBuild.xml(91) (see D:\P4 UE4\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace) Change 3512255 by Ben.Marsh Rename FPaths functions with a "Game" prefix (GameDir(), GameContentDir(), etc...) to have a "Project" prefix (ProjectDir(), ProjectContentDir(), etc...) for clarity with non-game uses of UE4. Old functions still exist but are deprecated. Change 3512332 by Ben.Marsh Rename "Game" functions in FApp to be "Project" functions (FApp::GetGameName() -> FApp::GetProjectName(), etc...) for clarity with non-game uses of UE4. Change 3512393 by Ben.Marsh Rename FPaths::GameLogDir() to FPaths::ProjectLogDir(). Change 3513452 by Ben.Marsh Plugins: Rename EPluginLoadedFrom::GameProject to EPluginLoadedFrom::Project. Change 3516262 by Ben.Marsh Add support for a "Mods" folder distinct from the project's "Plugins" folder, instead of using the bIsMod flag on the plugin descriptor. * Mods are enumerated similarly to regular plugins, but IPlugin::GetType() will return EPluginType::Mod. * The DLCName parameter to BuildCookRun and the cooker now correctly finds any plugin in the Plugins or Mods directory (or any subfolders). Change 3517565 by Ben.Marsh Remove fixed engine version numbers from OSS plugins. Change 3518005 by Ben.Marsh UAT: Remove the bUFSFile parameter from DeployLowerCaseFilenames(). Every platform returns false if the argument is false. Change 3518054 by Ben.Marsh UAT: Use an enum to direct whether all directories should be searched when finding files to stage, rather than a bool. Having so many optional boolean arguments makes code unreadable and refactoring hard. Change 3524496 by Ben.Marsh Start moving GUI application code into a separate static platform class, hopefully ultimately removing it from Core. Change 3524641 by Ben.Marsh Move more functionality related to windowed/graphical applications into FPlatformApplicationMisc. Change 3528723 by Steve.Robb MoveTemp now static asserts if passed a const reference or rvalue. MoveTempIfPossible still follows the old (std::move) rule, which is useful for templates where the nature of the argument is not obvious. Fixes to violations of these new rules. Change 3528876 by Ben.Marsh Move FPlatformMisc::ClipboardCopy and FPlatformMisc::ClipboardPaste to FPlatformApplicationMisc::ClipboardCopy and FPlatformApplicationMisc::ClipboardPaste. Change 3529073 by Ben.Marsh Add script to package ShooterGame for any platforms. Change 3531493 by Ben.Marsh Update platform-specific plugins to declare the target platforms they support. Change 3531611 by Ben.Marsh UAT: Add a ResavePluginDescriptors command, which resaves all plugin descriptors under a given folder, removing any outdated fields and rewrites them in a consistent style. Many plugins in the wild contain redundant or no-longer used fields due to using our plugins as templates. Change 3531868 by Ben.Marsh Resaving project descriptors to remove invalid fields. Change 3531983 by Ben.Marsh UAT: Simplify logic for staging code, and add validation against shipping files in restricted folders. * Added a new SystemNonUFS type for staged files, which excludes files from being remapped or renamed by the platform layer. * Replaced the DeplyomentContext.StageFiles() function with simpler overloads for particular use cases (options for remapping are replaced with the SystemNonUFS file type) * Config entries in the [Staging] category in DefaultGame.ini file allow remapping one directory to another, so restricted content can be made public in packaged builds (Example syntax: +RemapDirectory=(From="Foo/NoRedist", To="Foo")) * An error is output if any restricted folder names other than the output platform are in the staged output. Change 3540315 by Ben.Marsh UAT: Moving StreamCopyDescription command into a NotForLicensees folder, since it's only meant to be used by engine developers. Change 3542410 by Ben.Marsh UBT: Deprecate accessing properties through BuildConfiguration.* or UEBuildConfiguration.* from .target.cs files. These have been aliases to the current TargetRules instance for several releases already. Change 3543018 by Ben.Marsh UBT: Deprecate the BuildConfiguration and UEBuildConfiguration aliases from the ModuleRules class. These have been implemented as an alias ot the ReadOnlyTargetRules instance passed to the constructor for several engine versions. Change 3544371 by Steve.Robb Fixes to TSet_Add and TMap_Add BPs. #jira UE-47441 [CL 3548391 by Ben Marsh in Main branch]
2017-07-21 12:42:36 -04:00
OutPakFolders.Add(FString::Printf(TEXT("%sPaks/"), *FPaths::ProjectContentDir()));
OutPakFolders.Add(FString::Printf(TEXT("%sPaks/"), *FPaths::ProjectSavedDir()));
OutPakFolders.Add(FString::Printf(TEXT("%sPaks/"), *FPaths::EngineContentDir()));
}
bool FPakPlatformFile::CheckIfPakFilesExist(IPlatformFile* LowLevelFile, const TArray<FString>& PakFolders)
{
TArray<FString> FoundPakFiles;
FindAllPakFiles(LowLevelFile, PakFolders, FoundPakFiles);
return FoundPakFiles.Num() > 0;
}
bool FPakPlatformFile::ShouldBeUsed(IPlatformFile* Inner, const TCHAR* CmdLine) const
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
bool Result = false;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
#if !WITH_EDITOR
if (!FParse::Param(CmdLine, TEXT("NoPak")))
{
TArray<FString> PakFolders;
GetPakFolders(CmdLine, PakFolders);
Result = CheckIfPakFilesExist(Inner, PakFolders);
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3851142 by Robert.Manuszewski When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it. Change 3853797 by Ben.Marsh BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc... Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option. Change 3857540 by Graeme.Thornton Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed Change 3860062 by Steve.Robb Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example). Change 3860138 by Steve.Robb Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters. Change 3860273 by Steve.Robb Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors. Change 3863203 by Steve.Robb Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.). See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html Change 3864588 by Graeme.Thornton Crypto Keys Improvements - Removed UAT command line params for encryption. Centrally configured by the editor settings now. - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata - Minor refactoring of UAT encryption processing to use the new cryptokeys json file - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>" - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks Change 3864691 by Robert.Manuszewski Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever. Change 3864744 by Robert.Manuszewski Added the ability to get the actual filename of the log file FOutputDeviceFile writes to. Change 3864816 by Graeme.Thornton TBA: Minor formatting improvements to textasset commandlet Change 3868939 by Graeme.Thornton TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory Change 3869031 by Graeme.Thornton TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log Change 3871802 by Steve.Robb Class cast flags and property flags are now visible in the debugger. Change 3871863 by Robert.Manuszewski Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage. Change 3874413 by Steve.Robb Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections. TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement. Change 3874457 by Ben.Marsh When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests. The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes. Change 3876435 by Robert.Manuszewski Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever Change 3878762 by Robert.Manuszewski Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed. Change 3878850 by Robert.Manuszewski SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance. Change 3881331 by Graeme.Thornton TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter Change 3886983 by Ben.Marsh UGS: Fix notification window not expanding to fit long captions. Change 3887006 by Ben.Marsh UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10. Change 3887500 by Ben.Marsh UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names). Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style. Change 3887513 by Ben.Marsh UGS: Fix badge text drawing outside the clipping bounds. Change 3888010 by Josh.Engebretson Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path #jira none Change 3888418 by Ben.Marsh UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing. Change 3889457 by Steve.Robb GitHub #4457 : Display abbreviations properly when converting FNames to display string #jira UE-54611 Change 3889547 by Ben.Marsh UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description. Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this: [Badges] +DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1") The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked. Change 3889726 by Ben.Marsh UGS: Fix description badges that don't have any associated URL. Change 3889995 by Ben.Marsh UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead. Change 3890007 by Ben.Marsh UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious. Change 3890057 by Ben.Marsh UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly. Change 3891069 by Robert.Manuszewski Fixing a crash in MallocBinned2 when running with malloc profiler enabled. Change 3891084 by Steve.Robb Back out changelist 3881331 because it's causing cook errors. Change 3891100 by Ben.Marsh UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows: [//UE4/Main/Samples/Games/ShooterGame.uproject] Message=:alert: Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15. A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert: Change 3891346 by Steve.Robb TSharedPtr::operator bool, and some usage of it. Change 3891787 by Steve.Robb Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack(). Change 3892379 by Ben.Marsh UGS: Fix notification window containing the group fix for each build type. Change 3892400 by Ben.Marsh UGS: Shrink the size of the alert panel. Change 3892496 by Ben.Marsh UGS: Dim badges for changes which aren't eligable for syncing. Change 3893932 by Steve.Robb Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205. Change 3895872 by Ben.Marsh UGS: Show the stream name in tab labels by default. Change 3896366 by Ben.Marsh UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges. Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show. Change 3896367 by Ben.Marsh UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel. Change 3896425 by Ben.Marsh UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations. Change 3896461 by Ben.Marsh UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file: [//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject] StatusPanelColor=#dcdcf0 Change 3899530 by Ben.Marsh Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section. Change 3901164 by Ben.Marsh UGS: Add a class to store all the resources for the status panel. Change 3901165 by Graeme.Thornton TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written Change 3901301 by Ben.Marsh UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes. Change 3902454 by Ben.Marsh UGS: Fix logo not being redrawn in the correct position when starting to sync. Change 3903416 by Ben.Marsh UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'. Change 3904154 by Josh.Engebretson Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad) #jira UE-55442 Change 3904648 by Ben.Marsh UGS: Remove files from the workspace that are excluded by the sync filter. The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter. #jira UE-47335 Change 3905442 by Steve.Robb Change of the ConvertFromType() multi-bool return value to a more descriptive enum. Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change. Change 3905629 by Ben.Marsh UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely. Change 3906447 by Steve.Robb Rename EConvertFromTypeResult enumerators. Change 3906574 by Steve.Robb Crash fix for container conversion failure during tagged property import. Change 3909255 by Daniel.Lamb Fixed issue with DLCpackaging crashing on windows #jira UE-42880 #test EngineTest windows Change 3909270 by Steve.Robb Seek instead of skipping bad properties byte-by-byte. Change 3909324 by Steve.Robb Use switch statement instead of repeated if/else. Change 3909525 by Ben.Marsh UGS: Use the StudioEditor target when syncing content-only Enterprise projects. Change 3911754 by Daniel.Lamb Fix for building pak patches. #jira UE-55340 Change 3911942 by Robert.Manuszewski Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one. Change 3913067 by Ben.Marsh UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter. Change 3913209 by Ben.Marsh UGS: Fix incorrect target name when compiling Enterprise projects. Change 3917358 by Steve.Robb Fix for GetLen(FString). Change 3919610 by Ben.Marsh Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around. CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file. Change 3921002 by Ben.Marsh UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects). Change 3921008 by Ben.Marsh UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line. Change 3921906 by Steve.Robb New interpolation functions for quaternions. https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html Change 3921978 by Graeme.Thornton TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it. Change 3924520 by Graeme.Thornton UnrealPak: Improve encryption summary log messages Change 3924522 by Graeme.Thornton UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames Change 3924604 by Graeme.Thornton UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys. Change 3924638 by Graeme.Thornton Crypto: Improvements to parsing of old fashioned encryption.ini settings: - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings. - Signing keys will emit an error when they are too long (>64bytes) - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues #jira UE-55080 Change 3924747 by Steve.Robb Fix for degrees. Change 3925459 by Chad.Garyet Adding check to not to attempt to delete autosdk workspace if it doesn't already exist. Change 3926703 by Ben.Marsh BuildGraph: Include the path to the XML file when displaying an XML parse error. Change 3926917 by Ben.Marsh UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles). Set the solution name using an entry in BuildConfiguration.xml as follows: <ProjectFileGenerator> <MasterProjectName>UE4_Main</MasterProjectName> </ProjectFileGenerator> Change 3927683 by Graeme.Thornton UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file. Change 3928111 by Ben.Marsh UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in. Change 3928926 by Ben.Marsh BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties. Change 3931041 by Graeme.Thornton TBA: Add option to textasset commandlet to also include engine content in a resave Change 3931043 by Graeme.Thornton TBA: Redirect some more FArchive members in FArchiveProxy Change 3931913 by Ben.Marsh UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync. #jira UE-47368 Change 3932419 by Ben.Marsh UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first. #jira UE-33541 Change 3932483 by Ben.Marsh PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic) Change 3932624 by Ben.Marsh UGS: Add an error dialog when trying to clean the workspace before closing the editor. #jira UE-42308 Change 3932679 by Ben.Marsh UGS: Add the date/time to the end of the sync log. #jira UE-33540 Change 3932705 by Ben.Marsh UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist. #jira UE-53182 Change 3933318 by Ben.Marsh UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary. #jira UE-33535, UE-53914 Change 3933840 by Graeme.Thornton TBA: When loading assets, only use structured archive adapters for exports when loading text files. Change 3936040 by Ben.Marsh UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update. Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background. #jira UE-52870 Change 3940230 by Robert.Manuszewski Fixes for FilenameToLongPackageName crashes when runnign commandlets Change 3940240 by Graeme.Thornton Automated cycling of encryption and signing keys Change 3940243 by Graeme.Thornton UAT: CryptoKeys automation script Change 3940321 by Ben.Marsh UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range. Change 3940538 by Ben.Marsh UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line. Change 3941285 by Gil.Gribb UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight. #jira none Change 3942404 by Graeme.Thornton Pak Signing: - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter - Format the signedarchivereader output to match the pak precacher - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load. - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call. Change 3942825 by Ben.Marsh UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build. Change 3942839 by Ben.Marsh UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number. Change 3943153 by Ben.Marsh Use the correct logical processor count in ParallelExecutor. Change 3943210 by Ben.Marsh UGS: Add an option to the editor arguments window that allows prompting before launching the editor. Change 3943329 by Ben.Marsh UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel. Change 3944294 by Ben.Marsh UGS: Prompt for confirmation before removing any files from the workspace. Change 3945283 by Ben.Marsh UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring. Change 3945325 by Ben.Marsh PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040) Change 3947359 by Graeme.Thornton TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file. Change 3947360 by Graeme.Thornton TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats. Change 3949431 by Graeme.Thornton TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks Change 3950843 by Ben.Marsh UBT: Add a better error if an XML config file is corrupt. Change 3952504 by Steve.Robb GitHub #4545 : UE-55924: CaseSensitive token recognition #jira UE-55961 #jira UE-55924 Change 3952707 by Graeme.Thornton Make RandInit(...) log message verbose Change 3954694 by Ben.Marsh BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml. To define a Macro, use the syntax: <Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage"> <Log Message="First message" If="$(PrintFirstMessage)"/> <Log Message="Second message" If="$(PrintSecondMessage)"/> <Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/> </Macro> To expand a macro, use the syntax: <Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/> An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified. Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded. Change 3954695 by Ben.Marsh PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib) #jira UE-56283 Change 3954961 by Ben.Marsh UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files. #jira UE-56040 Change 3955785 by Steve.Robb GitHub #4546 : Don't discard errors from zlib inflate #jira UE-55969 Change 3955940 by Steve.Robb Redundant and confusing macro check removed. Change 3956809 by Ben.Marsh Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem. Change 3959590 by Steve.Robb Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed. Change 3959864 by Robert.Manuszewski Increasing the size of permanent object pool to fix warnings in cooked ShooterGame #jira UE-56001 Change 3960956 by Steve.Robb New ToCStr function which generically gets a TCHAR* from a 'string-like' argument. Change 3963628 by Ben.Marsh UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it. Change 3964349 by Ben.Marsh Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows. Change 3964821 by Ben.Marsh Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly. Change 3965269 by Ben.Marsh Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment. Change 3966554 by James.Hopkin #core Removed redundant cast Change 3966558 by James.Hopkin #core Removed redundant casts and changed some MakeShareables to MakeShared #robomerge #fortnite Change 3966754 by Ben.Marsh Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe. Change 3967397 by Ben.Marsh Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list. Change 3967664 by Ben.Marsh Update UGS solution to use Visual Studio 2017. Change 3967838 by Ben.Marsh Couple of fixes to conform scripts. Change 3968767 by Ben.Marsh Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime. Change 3968771 by Ben.Marsh Fix compiled-in engine path being subject to macro expansion. #jira UE-56504 Change 3968886 by Robert.Manuszewski Merging 3914301: Remove any references we had added to the GGCObjectReferencer during Init Change 3968978 by Steve.Robb FString->FName fixes for module names in HotReload. Change 3969019 by Steve.Robb Minor refactor of property skipping logic in SerializeTaggedProperties(). Change 3969041 by Steve.Robb Simplification of Build.version filename construction. Change 3969049 by Steve.Robb Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable. This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename(). #jira UE-52405 Change 3969120 by Ben.Marsh Enable errors for using undefined identifiers in conditional expressions by default. Change 3969161 by Ben.Marsh Remove log line that should only be included in the log. Change 3969216 by Steve.Robb Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling. This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed. #jira UE-52405 Change 3969346 by Steve.Robb Missed some bad FScript(Map/Set)Helper usage from CL# 3698969. Change 3969598 by Ben.Marsh Fix warning from VS2017. Change 3971101 by Graeme.Thornton TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves. Change 3971407 by Ben.Marsh UBT: Fix exception when enumerating toolchains if the directory does not exist yet. Change 3971523 by Graeme.Thornton Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching Change 3971613 by Ben.Marsh Fix Lightmass non-unity compile errors. Change 3971649 by Ben.Marsh Disable optimization around FTickerObjectBase constructor on Win32 due to ICE. Change 3971829 by Ben.Marsh Fix deprecated header warning from PVS Studio. Change 3972503 by Ben.Marsh Changes to build failure notifications: * Only people that submitted between builds with different error messages will be included on emails by default. * Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line). * Anyone that starts a build will be included on all failure emails. Change 3972732 by Ben.Marsh Changes to ensure notification messages are stable. Change 3972810 by Ben.Marsh Write debug information about the digest computed for a change, to assist with debugging it if it's not stable. Change 3973331 by Ben.Marsh Fix missing dependency on linker response file. Prevents target being relinked when build environment changes. Change 3973343 by Ben.Marsh PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff) Change 3973820 by Ben.Marsh Fix incorrect error message when unable to find Visual C++ install directory. Change 3974295 by Robert.Manuszewski Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds. Change 3975336 by Robert.Manuszewski CIS fix after the last merge from main Change 3976999 by Ben.Marsh Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly. This should cause CIS to better errors for compiling Odin editor. Change 3977934 by Ben.Marsh UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object. Change 3977953 by Ben.Marsh UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions. Change 3978544 by Ben.Marsh UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later. Change 3978780 by Ben.Marsh Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs. Change 3979313 by Ben.Marsh UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder. Change 3980499 by Ben.Marsh UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions. Change 3980890 by Ben.Marsh UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files. Change 3981495 by Ben.Marsh Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products. #jira UE-54343 Change 3982157 by Ben.Marsh Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch. Change 3982239 by Ben.Marsh Update tooltip directing users to install Visual Studio 2017 instead of 2015. Change 3983395 by Graeme.Thornton Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file Change 3983523 by Graeme.Thornton Backwards compatibility for pak files with compressed chunk offsets Change 3983769 by Ben.Marsh UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found. Change 3984529 by Ben.Marsh BuildGraph: When run with the -Preprocess=... argument, no steps will be executed. Change 3984557 by Ben.Marsh BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task. Change 3986520 by Ben.Marsh Remove hacks to uniquify response file name on Android and Linux. Change 3987166 by Steve.Robb Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures. Change 3989061 by Graeme.Thornton TBA: Text asset loading/saving work - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports. - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives. - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely. Change 3989109 by Graeme.Thornton TBA: TextAsset commandlet emits a warning when binary package determinism fails Change 3990823 by Ben.Marsh UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI. Change 3990832 by Ben.Marsh UGS: Make the schedule window resizable. Change 3991569 by Steve.Robb GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message Change 3991970 by Steve.Robb Fix for 4096 char limit on FParse::Value. Change 3992222 by Steve.Robb Advice added to the coding standard for using default member initializers. Change 3993675 by Ben.Marsh UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced. Change 3994199 by Ben.Marsh UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects. In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK. Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx Change 3994243 by Ben.Marsh UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered. Change 3994260 by Ben.Marsh UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself. Change 3994350 by Ben.Marsh UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user. Change 3995159 by Ben.Marsh UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters. Indend to re-introduce this functionality through the manual 'clean workspace' operation. Change 3995169 by Ben.Marsh UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls. Change 3995228 by Ben.Marsh UGS: Update recently opened projects list when editing project for an existing tab. Change 3995312 by Ben.Marsh UGS: Stop showing all dialogs in the taskbar. Change 3995929 by Robert.Manuszewski Completely rewritten FReferenceChainSearch class used by 'obj refs' command. - 3+ times faster - Uses the same code as GC to track all the references down - Actually reports all reference chains properly - Less code that is more readable than the previous version Change 3995981 by Ben.Marsh UGS: Clean workspace window will now force-sync files that have been deleted or which are writable. Change 3996113 by Ben.Marsh UGS: Fix crash upgrading config files from older versions. Change 3997990 by Ben.Marsh UGS: Prevent error when syncing an empty workspace. Change 3998095 by Ben.Marsh UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job. Also forcibly terminate the process on dispose to handle cases where the job object wasn't created. Change 3998264 by Ben.Marsh UGS: Fix exception when switching projects in-place. Change 3998643 by Ben.Marsh Fix shared DDC not being used for installed engine builds. #jira UE-57631 Change 4000266 by Ben.Marsh UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is: UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options] The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified. Change 4000293 by Ben.Marsh Add a compression flag that allows selecting compressor without using the default platform implementation. Change 4000315 by Ben.Marsh Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL. Change 4000610 by Ben.Marsh UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts. Change 4000627 by Ben.Marsh UBT: Include enabled plugin info in the UBT log. Change 4000793 by Ben.Marsh UBT: Remove some member variables from VCEnvironment that don't need to be stored. Change 4000909 by Ben.Marsh UBT: Add VS2017 installations to the list of paths checked for MSBuild installations. Change 4001923 by Ben.Marsh UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic. At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist. Change 4001927 by Ben.Marsh Fixes for compiling against the Windows 10 SDK. Change 4002439 by Robert.Manuszewski Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of TFastReferenceCollector Change 4003508 by Ben.Marsh UGS: Fix new workspaces not having the correct owner and host set. Change 4003622 by Ben.Marsh UGS: Add support for "skipped" as a build result. Change 4004049 by Robert.Manuszewski Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy Change 4005077 by Ben.Marsh UGS: Update version number. Change 4005112 by Ben.Marsh UBT: Reduce number of times a target has to be constructed while generating project files. Change 4005513 by Ben.Marsh UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files. Change 4005516 by Ben.Marsh UBT: Add warnings whenever a module adds an include path or library path that doesn't exist Change 4006168 by Ben.Marsh CIS fixes. Change 4006236 by Ben.Marsh UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control. Change 4006266 by Ben.Marsh UGS: Swap around the new workspace/existing file boxes on the open project dialog. Change 4006552 by Ben.Marsh If staging fails because a restricted folder name is found, include a list of them in the error message. Change 4007397 by Steve.Robb Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container. Change 4007458 by Ben.Marsh UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed. Change 4009343 by Ben.Marsh UGS: Set the rmdir option on new workspaces by default. Change 4009501 by Ben.Marsh UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change. Change 4009509 by Ben.Marsh UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler. Change 4010543 by Ben.Marsh Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported). Change 4010553 by Ben.Marsh UAT: Include platform groups in restricted folder names when staging. Change 4012030 by Ben.Marsh UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace. Change 4012204 by Chad.Garyet - Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text) - Create directory for sqlite db if it doesn't exist #jira none Change 4014209 by Brandon.Schaefer New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows #review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills Change 4015606 by Brandon.Schaefer Missed a code project that needed updating for new Breakpad changes for Mac Change 4017795 by Robert.Manuszewski GC assumption verification should now be 3-4x faster. - Refactored Disregard For GC to use TFastReferenceCollector - Move both Disregard For GC and Cluster verification code to separate source files Change 4020381 by Ben.Marsh Add link to the new official doc page for UnrealGameSync. Change 4020665 by Ben.Marsh UBT: Prevent plugins being precompiled if they don't support the current target platform. Change 4021829 by Ben.Marsh Update message about downloading a new version of Visual Studio. Change 4022063 by Ben.Marsh UBT: Suppress toolchain output when generating project files. Change 4023248 by Ben.Marsh Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run(). (Also fix an exception within the exception handler, if GError has not been created yet) Change 4025759 by Ben.Marsh Fix universal CRT include paths not being added to compile environment for VS2015. Change 4026002 by Ben.Marsh UBT: Check the old registry locations for the Windows SDK installation directory. Change 4026068 by Ben.Marsh UBT: Use the correct compiler version in the error message for not having the UCRT. Change 4026181 by Ben.Marsh Fix DebugGame editor configurations not enumerating modules correctly. #jira UE-58153 Change 4026285 by Ben.Marsh UBT: Add additional logging for enumerating Windows SDKs. Change 4026708 by Ben.Marsh UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders. Change 4029404 by Ben.Marsh Remove incorrect include paths to fix CIS warnings. Change 4031517 by Steve.Robb Fix for UHT errors not being clickable in the Message Log. #jira UE-58173 Change 4031544 by Ben.Marsh Fix errors building asset catalog for IOS due to modifying shared build environment. #jira UE-58240 Change 4032227 by Ben.Marsh BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph. Change 4032262 by Ben.Marsh BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml. Change 4032288 by Ben.Marsh Remove UFE from the BuildEditorAndTools script. Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3838569 by Steve.Robb Algo moved up a folder. Change 3848581 by Robert.Manuszewski Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems. #jira UE-49446 Change 3864743 by Steve.Robb Fix for buffer overrun when copying a context string. Fix for being unable to link to MallocLeakDetection. Fix to prefix for FMallocLeakDetection::ContextString. New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string. Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations. #jira UE-54612 Change 3865020 by Graeme.Thornton TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions Change 3869550 by Josh.Engebretson New SymGen and SymUpload tasks (ShooterGame usage example) Example C# symbolicator (using saved crash and data router formats) Updates for stack walking and crash runtime xml on Windows/Mac Change 3905453 by Steve.Robb USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO. Change 3910012 by Ben.Marsh UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails. Change 3920044 by Graeme.Thornton TBA: Text asset loading * Added a structured archive layer to FLinkerLoad * Wrapped export loading in a ArchiveUObjectFromStructuredArchive * Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content * Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename. * Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading. * Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives. Change 3921587 by Steve.Robb Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings. Fixes for various misuses. #jira UE-55681 Change 3942873 by Ben.Marsh UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not. Change 3944629 by Graeme.Thornton Merging back a couple of fixes from Fortnite - Extra parenthesis around some calculations in the pakprecacher - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature() - Added documentation for build script crypto options Change 3945381 by Ben.Marsh Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value. Change 3968969 by Steve.Robb Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array. Change 3969417 by Ben.Marsh Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs. Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest". Change 3972443 by Ben.Marsh Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything. Change 3977198 by Ben.Marsh Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug. Change 3979632 by Ben.Marsh Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist. * Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime. * The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command). * The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees. Change 3981738 by Ben.Marsh Move utility classes for filtering files and matching wildcards into DotNETUtilities. Change 3983888 by Steve.Robb Warning C4868 disabled, about evaluation order of braced initializer lists. https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html Change 3984019 by Steve.Robb FString::Printf formatting argument checking added. Vararg support for FText::Format. All remaining usage fixed. Change 3985502 by Steve.Robb Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'. Change 3985999 by Graeme.Thornton TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT. - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA Change 3986461 by Ben.Marsh Fixup lots of platforms not adding response files as a prerequisite. This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts. Change 3990081 by Ben.Marsh Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE. Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases). Change 3996714 by Chad.Garyet UGSRestAPI, conversion of UGS to use it. #jira none Change 4008287 by Ben.Marsh UBT: Change the engine to use the Windows 10 SDK by default. Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file. The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7). Change 4008516 by Chad.Garyet - Adding support for both SQLite and MsSql - API now reads from only MsSql, but writes to both - Added support for POST to CIS for badges - PostBadgeStatus now writes out via API Url rather than a direct connection to the DB #jira none Change 4010296 by Chad.Garyet Moving SQLite db initilization into Application_Start. An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404. #jira none Change 4024045 by Ben.Marsh Set the list of supported target platforms for OnlineSubsystemGameCircle. #jira UE-57887 Change 4031014 by Ben.Marsh UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names. [CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
#endif
return Result;
}
bool FPakPlatformFile::Initialize(IPlatformFile* Inner, const TCHAR* CmdLine)
{
LLM_SCOPE(ELLMTag::FileSystem);
SCOPED_BOOT_TIMING("FPakPlatformFile::Initialize");
// Inner is required.
check(Inner != NULL);
LowerLevel = Inner;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if EXCLUDE_NONPAK_UE_EXTENSIONS
// Extensions for file types that should only ever be in a pak file. Used to stop unnecessary access to the lower level platform file
ExcludedNonPakExtensions.Add(TEXT("uasset"));
ExcludedNonPakExtensions.Add(TEXT("umap"));
ExcludedNonPakExtensions.Add(TEXT("ubulk"));
ExcludedNonPakExtensions.Add(TEXT("uexp"));
#endif
#if DISABLE_NONUFS_INI_WHEN_COOKED
IniFileExtension = TEXT(".ini");
GameUserSettingsIniFilename = TEXT("GameUserSettings.ini");
#endif
Copying Orion-Staging @ 3748653 (Orion/Dev-General @ 3722124) to //UE4/Main #lockdown Nick.Penwarden #rb none Change 3720210 on 2017/10/25 by Olaf.Piesche Fixing dynamic material params for ribbons #!codereview scott.kennedy #!rb none #!tests scott's test ribbon Change 3720073 on 2017/10/25 by robomerge #!ROBOMERGE-AUTHOR: frank.fella Niagara - Fix a crash where a UNiagaraSystem has been GCed at runtime and there is still a system simulation ticking for it. #!Tests Minion automated tests no longer crash randomly. #!rb SimonT #!ROBOMERGE-SOURCE: CL 3719901 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3719233 on 2017/10/25 by robomerge #!ROBOMERGE-AUTHOR: philip.buuck [OR-45889] Ability fail widget will no longer fire if you are dead and have a passive (which is failing to activate while you are dead). #!rb Matt.Schembari #!tests PIE [QAREVIEW] Ensure the ability fail widget and its attached sounds do not trigger on death #!ROBOMERGE-SOURCE: CL 3719016 in //Orion/Release-44/... via CL 3719072 via CL 3719091 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3718474 on 2017/10/25 by Yannick.Lange Niagara: Only show isolate menu items on track context menu if it is a system. Rename "Isolate toggle" to "Isolated". #!rb none #!codereview Shaun.Kime #!tests n/a Change 3718095 on 2017/10/25 by Yannick.Lange Niagara: Fix crash when not having dynamic parameter in material. #!rb none #!codereview Shaun.Kime #!tests n/a Change 3718069 on 2017/10/25 by Yannick.Lange Niagara: Remove material member from material parameter node and add helper function for getting material dynamic parameter expression. #!rb none #!codereview Shaun.Kime #!tests n/a Change 3717545 on 2017/10/24 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Removed read / write locks from PipelineStateCache. #!rb Andrew.Grant, Gil.Gribb #!test paragon ps4. #!ROBOMERGE-SOURCE: CL 3716445 in //Orion/Release-44/... via CL 3716701 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3716928 on 2017/10/24 by Shaun.Kime The cooked dusk minions on PS4 don't have an index buffer, previously causing us to crash. We now fail to initialize the skeletal mesh data interface if this happens. This change also reworks the skeletal mesh data interface to be more like what Simon is already working on, getting rid of some places where we were skinning. Additionally, I have disabled the parallel pretick and posttick logic.Many more checks have been added to try and detect bad situations at runtime. #!rb olaf.piesche, simon.tovey #!fyi olaf.piesche, simon.tovey, frank.fella #!tests am now able to run Test_minionWave on PS4 Change 3715712 on 2017/10/24 by Yannick.Lange Niagara: Set display name of if node to "If" instead of "NiagaraNodeIf". #!rb none #!codereview Shaun.Kime #!tests n/a Change 3715430 on 2017/10/23 by Shaun.Kime Rather than make a unique decision each time we bind a VM function about whether or not we need previous positions, we initialize the decision with the results of last time. The value defaults to false in the constructor, so we're still behaving as we did before, but this time asking for UV info last won't initialize the data to no longer want the previous position even though we later ask for it. #!rb none #!fyi simon.tovey #!tests from Tim Elek - testMinion map get minions spawned then run down the lane and "setteamnum 1" crashes everytime Change 3715368 on 2017/10/23 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Merging 3714121 from //Orion/Release-44 to Main (//Orion/Main) #!tests #!rb none #!ROBOMERGE-SOURCE: CL 3715255 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3715226 on 2017/10/23 by Shaun.Kime Getting rid of an ensure for Nan's and switching to a log warning. This keeps it from polluting long term runs in the debugger. It seems like at least one of the Niagara systems on minions generates Nan's. #!rb none #!fyi simon.tovey, olaf.piesche, frank.fella #!tests ran in PIE Change 3714645 on 2017/10/23 by Yannick.Lange Niagara: Add ability to create particle system from this emitter in content browser. #!rb Shaun.Kime #!tests n/a Change 3714200 on 2017/10/23 by Olaf.Piesche Niagara: Fixing rendering of GPU simulated emitters; store SRV instead of data buffers, so we can point the VF at the correct buffer based on sim target #!codereview simon #!rb none #!tests Orion Niagara assets Change 3713341 on 2017/10/23 by Yannick.Lange Niagara: Fix NiagaraNodeIF output pins cannot be deleted. Fix NiagaraNodeIF output pins cannot be renamed. #!jira UE-50193 #!jira UE-50193 #!rb Shaun.Kime #!tests n/a Change 3713133 on 2017/10/23 by Yannick.Lange Niagara: Isolate emitters in sequencer UI. - Added being able to extend the sequencer track context menu with a delegate. - Added entry in track context menu to toggle the selected emitters isolation state. - Added entry in track context menu to isolate all the selected emitters and turn isolation off for all non-selected emitters. #!rb Shaun.Kime #!tests n/a Change 3712445 on 2017/10/22 by robomerge #!ROBOMERGE-AUTHOR: shaun.kime UVScale, UniformAorBFloat, and LinearColorAlongVector added. #!rb none #!tests new autotest added #!ROBOMERGE-SOURCE: CL 3712444 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3712420 on 2017/10/21 by robomerge #!ROBOMERGE-AUTHOR: shaun.kime Fixing issue where if you disabled Acceleration Force it would cause a compile error saying that it could find a default for Physics.Force but not in the parameter map. This was because of a simple error of using the index of the pin instead of the value of the pin when routing around the disabled node. In interpolated spawn scripts, there are two parameter maps, the spawn and update. If you always look in 0, which you would if you just use the pin index, you'd never find the Physics.Force variable in parameter map at entry 1. #!rb none [CODEREVIEW] frank.fella [FYI] simon.tovey, olaf.piesche, wyeth.johnson #!tests created an emitter, disabled Acceleration Force.. still compiled. #!ROBOMERGE-SOURCE: CL 3712419 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3711602 on 2017/10/20 by robomerge #!ROBOMERGE-AUTHOR: shaun.kime Fix for issue where we were getting a check due to the mesh not being set up properly. We now catch the error and don't try and do the bad operation. The log will have something like: LogNiagara: SkeletalMesh data interface has no valid mesh. Failed InitPerInstanceData #!jira UE-51511 #!rb Simon.Tovey #!tests n/a #!ROBOMERGE-SOURCE: CL 3711601 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3711288 on 2017/10/20 by robomerge #!ROBOMERGE-AUTHOR: eric.ketchum [Justice] Ultiamte VFX in Niagara work, includes GeneratePositionEvent Module work #!rb: None #!tests: PIE [CODEREVIEW] Scott.Kennedy, Tim.Elek, Simon.Tovey, Shaun.Kime #!ROBOMERGE-SOURCE: CL 3711285 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3711197 on 2017/10/20 by Olaf.Piesche Fix for ribbon facing issue; VF assumed local space particles in the ribbon, now it assumes world space (the most common case); TODO: deal with local space properly #!rb none #!tests minion projectile ribbon trail Change 3710634 on 2017/10/20 by Mic.Rooney Moving some Facial Animation stuff around so I can use some of their importing logic inside Orion Dialogue asset importing. #!RB: none #!Test: tested/built locally ran preflight Editor/Monolithics build. #!review-3710635 @andrew.grant, @david.ratti, @thomas.sarkanen Change 3709686 on 2017/10/20 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Added some more timerguards for slow timer manager tick objects. Commented out for now. #!rb Trivial #!test Paragon Cooked ps4. #!ROBOMERGE-SOURCE: CL 3709683 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3708958 on 2017/10/19 by Shaun.Kime Back out changelist 3708456 .. this was an unintentional change #!rb none #!tests n/a Change 3708839 on 2017/10/19 by Shaun.Kime Merging CL 3708835 Fixing Scott's common crash with adding an emitter with autocompile off #!rb frank.fella #!tests n/a Change 3708784 on 2017/10/19 by Shaun.Kime Merging CL 3708782 //Orion/Main/... to //Orion/DevGeneral/... #!rb none #!tests n/a Change 3708600 on 2017/10/19 by robomerge #!ROBOMERGE-AUTHOR: mieszko.zielinski Made bots in Ultimate movement mode not ignore all enemies but instead use a very small radius for enemy selection #!Orion #!rb none #!test golden path #!ROBOMERGE-SOURCE: CL 3706947 in //Orion/Release-44/... via CL 3708165 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3708473 on 2017/10/19 by Shaun.Kime Merging Frank's changes for team color support from Main to Dev-General #!rb Frank.Fella #!tests test_minionwave worked Change 3708456 on 2017/10/19 by Shaun.Kime Particles.Random set to 0.0 #!rb none #!tests n/a Change 3708455 on 2017/10/19 by Shaun.Kime Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara #!rb none #!tests passed minion fx autotest Change 3707648 on 2017/10/19 by Shaun.Kime Temporary render thread safety code for emitter instances and it's dataset until a more thorough refactor/safety pass can be made. Defer deletion of dataset to RT. Ensure resets don't mess with data inflight RT commands are using. Checkin on behalf of Simon Tovey #!jira OR-45423 #!rb Simon.Tovey #!tests ran through the LaneMinionFXTests successfully on PC Change 3707096 on 2017/10/19 by robomerge #!ROBOMERGE-AUTHOR: shaun.kime CameraOffset for sprites. Had to bless some new images due to Simon's off by one frame render fix from a few days ago. #!rb none #!tests automated tests pass #!ROBOMERGE-SOURCE: CL 3707088 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3706726 on 2017/10/19 by Rob.Cannaday Merge XMPP resource version to use version 2 instead of version 3 #!rb trivial #!tests compile #!ROBOMERGE: Main, 44, Tencent Change 3706349 on 2017/10/19 by Josh.Markiewicz #!UE4 - Cross Voice code review feedback - fixed up broken stack vs queue - fixed GetRoomId returning int32 instead of uint64 - fixed switch room logic - more/better logging - more comments #!jira TEN-301 #!review-3681404 @sam.zamani, @rob.cannaday #!rb none #!tests local cheat codes Change 3705453 on 2017/10/18 by robomerge #!ROBOMERGE-AUTHOR: arne.schober Initzalize missing Cubemaps with Zero index to avoid inconsistencies between platforms (like PS4 where a negative index will access the memory shead of the array) #!RB Daniel.Wright #!Tests LaunchOnPs4 #!ROBOMERGE-SOURCE: CL 3704845 in //Orion/Release-44/... via CL 3704847 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3705399 on 2017/10/18 by robomerge #!ROBOMERGE-AUTHOR: scott.kennedy Default Niagara emitter changed color property to better default value. Updated basic glow emitter Added energy bubble base emitter put a little more polish into siege minion impact FX. #!ROBOMERGE-SOURCE: CL 3704654 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3704426 on 2017/10/18 by Shaun.Kime Standardizing our null and zero checks for the sprite and mesh renderers trying to prevent OR-45423 #!rb simon.tovey #!fyi hunter.kent #!tests ran test_minionwave with no crashes on PC, needs QA to bang on it to be sure Change 3703288 on 2017/10/18 by Olaf.Piesche Simon's change to avoid recreation of vertex buffers; should also fix uninitialized gpu buffer crash #!rb olaf.piesche, simon.tovey #!tests minion test map PC and PS4 Change 3701373 on 2017/10/17 by robomerge #!ROBOMERGE-AUTHOR: shaun.kime Passing the wrong shader into ribbon vertex factories when setting shader constants for pixel shader. #!rb Olaf.Piesche #!tests test_minionwave runs #!ROBOMERGE-SOURCE: CL 3701371 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3701108 on 2017/10/17 by Hunter.Kent Added a "New Minions (nomcp)" option to the Mode dropdown in the BuildLauncher tool so that Devs can test the new minions on PS4 more easily. #!RNX #!Test PS4 #!rb @tim.elek #!review-3701110 @andrew.grant, @daniel.lamb Change 3701044 on 2017/10/17 by robomerge #!ROBOMERGE-AUTHOR: jon.lietz - white space fixes - added in more detail to logging - fixed dragon GC to not hide when the mesh is hidden #!rb none #!tests complies and logging is updated [FYI] Billy.Rivers, Eric.Ketchum, Fredrik.Seehuusen #!ROBOMERGE-SOURCE: CL 3700996 in //Orion/Release-44/... via CL 3701002 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3700900 on 2017/10/17 by Shaun.Kime Integrating possible crash fix from Dev-Niagara to Dev-Gen #!rb none #!tests n/a #!fyi Olaf.Piesche Change 3700492 on 2017/10/17 by Shaun.Kime Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara #!rb none #!tests done in branch Change 3700217 on 2017/10/17 by Olaf.Piesche Fix for potential crash in sprite renderer #!rb none #!tests minion test map Change 3700216 on 2017/10/17 by Benn.Gallagher Fix for crash using Ghost's E on Rampage due to posable mesh being set as the master pose component. Clothing simulation assumed derivative of skeletal mesh component so was failing to correctly map its bones to the master. #!rb Lina.Halper #!jira OR-45226 #!tests PIE + Standalone games hitting Rampage with Ghosts E Change 3699660 on 2017/10/17 by Jason.Bestimt #!ORION_DG - Fixes to UnrealHitchParser edge cases #!RB:none #!Tests: Ran on Logs from QA #!CodeReview: ben.salem Change 3699462 on 2017/10/17 by Shaun.Kime Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara #!tests preflight ok #!rb none Change 3699010 on 2017/10/17 by Jeff.Williams Merging //Orion/Main to Dev-General (//Orion/Dev-General) @3698920 #!rb none #!tests none Change 3698519 on 2017/10/16 by Olaf.Piesche Sawtooth ribbon fix; may well fix other potential ribbon rendering artifacts #!rb none #!tests minion wave test map Change 3698380 on 2017/10/16 by Shaun.Kime Updating logic to now support the autoattachment #!rb none #!tests autotests pass.. Change 3698263 on 2017/10/16 by Olaf.Piesche Assume degrees for sprite rotation #!rb none #!codereview shaun.kime #!tests test sprite emitter Change 3697652 on 2017/10/16 by Olaf.Piesche Fixing crappy FP math for alternating vertex IDs ffor ribbon expansion #!rb none #!tests minion test map Change 3696906 on 2017/10/15 by Shaun.Kime Fixing the spurious missing required attribute errors that were occuring for Scott on Friday. These were a result of a bad assumption in the code. The scripts input array can include more than just this emitter's scripts and as such we cannot assume that all the input scripts should be checked against the Emitter's renderers. Now we only check this emitter's scripts against the renderers. #!rb none #!tests now no longer generates invalid errors #!fyi frank.fella, olaf.piesche, simon.tovey Change 3695456 on 2017/10/13 by Olaf.Piesche Fix for potential ribbon crash and end-of-ribbon rendering artifacts #!rb none #!codereview scott.kennedy #!tests minion wave test map Change 3694545 on 2017/10/13 by Andrew.Grant Fix for low frequency async loading crash (OR-42535) #!rb gil.gribb #!tests comppiled Change 3694176 on 2017/10/13 by Jeff.Williams Plugin manifest name changed to DLCFile name #!rb none #!tests compile, stage Change 3693582 on 2017/10/12 by Don.Eubanks Fixing PS4 Compile warning (constructor init order not matching member define order) #!rb none #!tests Compile Shipping Client PS4 #!fyi olaf.piesche Change 3693516 on 2017/10/12 by Olaf.Piesche Niagara: Remove mesh renderer assert, replace with early out #!rb none #!tests niagara mesh test asset Merging //Orion/Dev-Niagara/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraRendererMeshes.cpp to //Orion/Dev-General/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraRendererMeshes.cpp Change 3693051 on 2017/10/12 by Ben.Salem Adding parser for any logs with dumphitches enabled. Run UnrealHitchParser <logfile> to receive a logfile_hitches.txt file containing only the hitches in the log, plus reference lines to their location in the original log. #!rb Clayton.Langford #!tests Parsed a 5mb log with dumphitches down to 23k of hitch data. Change 3692912 on 2017/10/12 by Olaf.Piesche Merging: Niagara ribbon tiling distance #!rb none #!tests ribbon test asset Change 3692835 on 2017/10/12 by Shaun.Kime Synching with Dev-Niagara, specifically CL 3692821 which made InitialMeshRotation respect local space flags. #!rb none #!fyi scott.kennedy, wyeth.johnson #!tests n/a Change 3692751 on 2017/10/12 by Shaun.Kime Removing script that shouldn't have come over. #!rb none #!tests n/a Change 3692746 on 2017/10/12 by Shaun.Kime Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara #!rb none #!tests opened test level and created new emitter/system Change 3692616 on 2017/10/12 by Don.Eubanks OR-45131 Marking SRetainerWidget and our Orion-specific VirtualWindow (child of the RetainerWidget when bUseRetainerWidget is true) as SelfHitTestInvisible so they don't interfere with our HUD tooltip mouse picking. #!rb dan.hertzka #!tests Compile DebugGame Editor Win64 / Shipping Client PS4 / PIE #!codereview nick.darnell Change 3691912 on 2017/10/12 by robomerge #!ROBOMERGE-AUTHOR: jeff.williams Merging //Orion/Dev-General to Main (//Orion/Main) to [at 3689865] #!rb none #!tests compile, editor #!ROBOMERGE-SOURCE: CL 3691870 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3690944 on 2017/10/11 by Jeff.Williams Adding Plugin Config .ini's to DLC paks. Building pluginmanifests per-DLC. #!rb Daniel.Lamb #!tests Compile, build Change 3688989 on 2017/10/10 by Lina.Halper LOD sync of attached/parent #!rb: Laurent.Delayen #!tests: price with shotgun skin/PIE/editor Change 3687592 on 2017/10/09 by Ben.Salem Increase the number of times we run each shallow test to make sure our numbers are reliable. Improve shallow FX perf logger to be able to handle multiple runs of the same test. #!rb clayton.langford #!tests Ran sparrow shallow tests. Change 3686560 on 2017/10/09 by Shaun.Kime Flipping the min/max values to be standard #!rb none #!tests n/a Change 3686046 on 2017/10/09 by Shaun.Kime Merging latest from Dev-Niagara in preparation for Effects team work on Monday #!rb none #!tests successful preflight #!fyi Andrew.Grant, Simon.Tovey, Frank.Fella, Olaf.Piesche, Scott.Kennedy, Tim.Elek Change 3685613 on 2017/10/07 by robomerge #!ROBOMERGE-AUTHOR: simon.tovey Implementing vector field matrix inverse fix from CL3675167 to 43.3. #!rb none #!tests none #!lockdown andrew.grant #!ROBOMERGE-SOURCE: CL 3684339 in //Orion/Release-43.3/... via CL 3684340 via CL 3684342 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3685603 on 2017/10/07 by robomerge #!ROBOMERGE-AUTHOR: thomas.ross RotationalContent Improvements - Fixed potential bug where tags could be updated when not intended on RotationalContentManager - Fix for PIE assert - Moved DebugParsing checks to all cases of InitializingTagsFromMCP so that connecting to MCP or returning to the main menu would not overwrite a console / manually set debug option. - Removing config tag from RotationalContentOverrides in OrionGlobals. New Halloween Gauntlet Test - Adding in Halloween Gauntlet Test to facilitate launching halloween overriden builds easily. Run by typing Halloween into the custom text box. #!rb none #!tests local builds / editor / PIE #!ROBOMERGE-SOURCE: CL 3682813 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3685408 on 2017/10/07 by ben.salem Fixing robomerge error in DevGen #!CodeReview: ben.salem, jason.bestimt, andrew.grant, jeff.williams Unresolved conflicts. ben.salem, please merge this change by hand. //ROBOMERGE_ORION_Dev_General/OrionGame/Build/OrionBuild.xml -------------------------------------- Merging using DevGen->Release43.3 Repairing mailer for nightly Perf tests, fixing email headers. #!tests run in devgen #!rb none #!lockdown andrew.grant #!ROBOMERGE-SOURCE: CL 3680914 in //Orion/Release-43.3/... via CL 3680919 via CL 3680922 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3685073 on 2017/10/06 by Andrew.Grant Merging 3680922 //Orion/Main to Dev-General (//Orion/Dev-General) #!tests #!rb na Change 3684717 on 2017/10/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed issue where GT & RT times in profile info were reversed :( #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3680128 in //Orion/Release-43.2/... via CL 3680129 via CL 3680130 via CL 3680235 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3684512 on 2017/10/06 by Laurent.Delayen Added 'PlayRateBasis' to SequencePlayer node, to scale PlayRate without having to do more expensive BP code. #!rb lina.halper #!tests minion AnimBP nativization Change 3684059 on 2017/10/06 by Max.Preussner Orion: Fixed ability videos not loading on PS4 and/or not looping #!fyi stephan.jiang #!jira OR-44682 #!rb none #!rnx #!tests none Change 3683538 on 2017/10/06 by David.Ratti batch all non-trickle gold and XP gameplay cues into single compact RPC call. Fixes issues where rpc throttling would prevent gold/xp number pops over large groups of minions. -Fixes enemy heroe kills/assists never showing XP pops. We now pass the avatar actor as the Source Actor into ::AwardXP (like we do for ::AwardCardXP). This was causing XP pops to only show for minions and not players. -Fixes case where killing minions with badass was not displaying pops (prediction key issue) #!rb none #!tests editor, pie #!review-3683539 @Matt.Schembari Change 3683364 on 2017/10/06 by Andrew.Grant Changed warning to info #!tests #!rb na Change 3681999 on 2017/10/05 by Bart.Hawthorne Implement live spectating feature. Clients can join a match using a custom key by setting their custom key and using the "JoinAsSpectator" console command. This will be replaced with proper UI later. The client is able to watch a match from start to finish (or join in the middle), then they will see the end game sequence and return to the title screen at match completion. #!rb cody.haskell #!fyi ben.zeigler, matt.schembari, matt.kuhlenschmidt, paul.moore #!jira OR-44111 #!tests Golden path, live spectated numerous matches. Change 3681403 on 2017/10/04 by Josh.Markiewicz #!UE4 - base pass for Tencent Cross SDK - basic testing done with enter/exit/switch room - basic testing of ShowUI - checked in disabled #!rb duck #!tests see above #!jira TEN-301 #!review-3681404 @sam.zamani, @rob.cannaday Change 3680623 on 2017/10/04 by David.Ratti Rework for how max movement speed is calculated. The design is now "only strongest movement speed slow affects player speed". Movement speed buffs are unaffected : they are still accumulated along with the strongest slow. Combat Slows (Shooting, jump penalties) are now aggregated within Max Movement Speed, so the same rules apply. If a slow of greater magnitude is active, Combat Slows will effectively be ignored. Likewise, if a combat slow is stronger than a debuff slow, the debuff slow will effectively be ignored. Directional Slows (penalty for strafing or backpeddaling) are treated in a similar way. There are some subtleties here, but basically directional slows are only applied if they would be "the strongest" slow. GE Slows that are not contributing (due to not being the strongest active slow) will still appear to be "on" and applied. (Their GCs will still play, they are not inhibited, handles to them are still valid, etc). Suggested methods for inspection: AbilitySystem debug hud (Home/End) p.VisualizeMovement (displays final calculated movement speed) Orion.Movement.DirectionalScaleDebug (displays directional slow movement scalar) Technical information: 1. Changes the way attribute mods are qualified. Rather than qualifying inside the mod prior to evaluating, we qualify all mods within an FAggregator first, then allow a custom callback to run which can further muck with the mods IsQualified bool, then we evaluate like normal except that we just check the IsQualified bool. 2. Added a concept of Aggregator Evaluate Meta Data that can be set per aggregator. This is data that is instrinc to the aggregator rather than passed in by the person evaluating. It may make sense to have this be a shared ptr to reduce memory footprint if this struct grows. 3. Added a notification for attribute sets when an aggregator is created for one of their attributes. 4. Added ForEachMod functions in the aggregators to iterate over all mods (while getting the channel and mod op which are otherwise not known to the actual FAggregatorMod) 5. Added FAggregatorEvaluateMetaDataLibrary which can store common/shared functions for this type of extension. #!tests pie #!rb FrankG #!codereview Fred.Kimberley, Billy.Bramer #!fyi colin.fogle #!QAReview #!RN #!designchange Change 3680580 on 2017/10/04 by Ben.Salem Repair email titles for various reports. #!rb none #!tests Reran tests. Change 3680438 on 2017/10/04 by Dan.Hertzka GameplayAbilities now pass along their SourceObject when creating the effect context for a new effect - Fixes the HUD status effect feed not showing sources for a lot of itemization abilities Also added the tag to prevent showing a feed entry for the Lifesteal received from the first major agi pip #!rb Dave.Ratti #!tests OrionEntry PIE - equipped Sand Speeder #!QAReview: This should address the majority of cases where a card/gem effect buff doesn't show the source item. There are still a number of unaddressed cases, but these will largely be content one-offs from here on Change 3680344 on 2017/10/04 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Speculative disable of defragging on volumetric lightmap textures. #!rb andrew.grant #!test monolith2 ps4 #!ROBOMERGE-SOURCE: CL 3678624 in //Orion/Release-43.3/... via CL 3678628 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3680302 on 2017/10/04 by Shaun.Kime Integration from DevNiagara. Some character and card blueprints were changed in a minor way when they called their parent Burst, Loop, etc. as Blueprints cannot have an unattached array pin and Gameplay cues now have an Additional Niagara Particle Systems array. #!rb none #!fyi Scott.Kennedy, Olaf.Piesche, Simon.Tovey, Frank.Fella, Andrew.Grant, Tim.Elek #!tests passed PS4 test level (not submitted, but ported from DevNiagara). Automated tests pass. Change 3679946 on 2017/10/04 by Laurent.Delayen Fix for OR-44826. Old minions would crash because their LODs would reduce bone counts, and LowerBodyBoneIndices wasn't properly reset between LOD switches. #!rb lina.halper #!FYI andrew.grant #!tests monolith2 old minions Change 3679938 on 2017/10/04 by Daniel.Lamb Allowed foliage cullall option to be modified by scalability options. #!rb Trivial #!test Compile paragon editor Change 3679563 on 2017/10/04 by Jon.Lietz OR-43599 - added support for WaitForAttributeChange, WaitForAttributeChangeWithComparison, WaitForAttributeChangeThreshold, and WaitForAttributeChangeRatioThreshold to support tracking on an extrnal source. This way you can track when that extranal sources attribute changes and respond to it. #!rb Dave.Ratti #!review-3679564 @John.Nielson #!tests added these waits to hot pursuit and they worked as expected Change 3679006 on 2017/10/03 by Ben.Salem Try to fix broken nightly mailer issues for FX tests. #!rb none #!tests Preflighted a shallow fx pass successfully in EC. Change 3677845 on 2017/10/03 by Andrew.Grant Added an ensure to guard against OR-44826 while further investigations occur #!tests compiled #!rb none Change 3677443 on 2017/10/03 by John.Nielson Fix to OrionOR-44394, Log Warnings related to Phase GC when loading into game as Phase. Made it so that gameplayCue's async loads are cancelled when Unloaded (in UnloadGameplayCueNotify). #!RB: None #!Test: Pie, Uncooked #!review-3677445: @David.Ratti Change 3676748 on 2017/10/02 by Laurent.Delayen Minions: split body layer is now done in mesh space, to maintain upper body orientation. #!FYI ray.arnett, lina.halper #!rb none #!test lane minion test map Change 3675950 on 2017/10/02 by Don.Eubanks Added several new supported tags / status effects to the Floating Status Effect Text system. Added support for providing a list of Instigating actors when a status effect begins, the list isn't super perfect (overlapping status effects can result in an instigator appearing in multiple lists) but it should be pretty good for now. This paves the way for us to squelch status effects unless they are initiated by the player. Added ScaleOverDistance curve support for floating numbers / text. Inverted the Instigator / Target checkboxes for XP in the DamageNumberManager per @matt.schembari request to support his work while I had the asset checked out. #!rb matt.schembari #!tests Compile DebugGame Editor Win64 / Shipping Client PS4 Change 3675186 on 2017/10/02 by Mic.Rooney Support for other anim curve driving audio types (right now specifically DialogueWave) #!RB: none #!Test: compiled editor/monolithics/withoutunity and tested locally. #!review-3675187 @andrew.grant, @david.ratti, @thomas.sarkanen Change 3675167 on 2017/10/02 by Shaun.Kime Changed unsafe InverseFast() to an Inverse() #!jira OR-44671 #!rb Simon.Tovey #!tests n/a Change 3674888 on 2017/10/02 by David.Ratti GGP V2 * Major refactor of the GGP system though this first check in is a scaled back integration from original plans. Primarily to stabilize the system and improve designer work flows before possibly going deeper for a "Completely unified" integration. Item System: * Simple Ability Keyword Data now directly references gameplay effect to apply, effectively removing Gameplay Effect Keywords. * Qualifier and Gameplay Effect parameters now use the FAutoExportScalableFloat structure which automatically hooks up the values to spreadsheets. (GGP is used to surface these parameters for the auto hookup). Ability System: * SetByCaller magnitudes are now copied over anytime a GE applies another GE. When an ability applies a GE it also brings over its SetByCaller Magnitude tags from the GE that granted it (if granted bya GE) #!rb none #!tests editor pie cooked #!review-3674889 @Jon.Lietz Change 3674170 on 2017/09/30 by Mieszko.Zielinski Fixed a bug in OrionToggleableNavLinkProxy resulting from an overly optimistic assumption that Navmesh and Gameplay levels are being saved in sync #!Orion Had to make OrionToggleableNavLinkProxy's nav poly ID caching happen on map load. #!rb none #!test golden path #!OR-44738 Change 3672937 on 2017/09/29 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Changed Gauntlet filecopy to a single thread to see if it addresses issue with PS4 files #!tests 3compiled #!rb none #!ROBOMERGE-SOURCE: CL 3670237 in //Orion/Release-43/... via CL 3670243 via CL 3670244 via CL 3670245 via CL 3670246 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3672867 on 2017/09/29 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Restored previous behaviour of integer numbers being formatted as "1" and not "1.00" #!tests ran game, checked playlist analytic #!rb nikdel #!ROBOMERGE-SOURCE: CL 3669417 in //Orion/Release-43/... via CL 3669556 via CL 3669557 via CL 3669558 via CL 3669559 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3672575 on 2017/09/29 by robomerge #!ROBOMERGE-AUTHOR: david.ratti Remove warning that can happens normally with backwards compat replays #!rb none #!tests compile #!ROBOMERGE-SOURCE: CL 3667518 in //Orion/Release-43.3/... via CL 3667520 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3672548 on 2017/09/29 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Fixed crash in the editor caused by trying to build hlods with StaticMeshComponents that don't have a static mesh assigned. #!rb Andrew.Grant #!test Editor building hlods #!ROBOMERGE-SOURCE: CL 3667059 in //Orion/Release-43.3/... via CL 3667060 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3672542 on 2017/09/29 by Andrew.Grant Merging #!rb #!tests na Change 3672390 on 2017/09/29 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Changed memreport settings for frontend tests #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3666239 in //Orion/Release-43/... via CL 3666240 via CL 3666241 via CL 3666242 via CL 3666243 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3672385 on 2017/09/29 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Reworked and pretty much final PipelineState cache code - various comments incorporated - namespaced functions - removed redundant class and replaced with ref pointer #!tests soaked a lot [at daniel.lamb,] [at arne.schober] #!rb none #!ROBOMERGE-SOURCE: CL 3666233 in //Orion/Release-43/... via CL 3666235 via CL 3666236 via CL 3666237 via CL 3666238 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3672281 on 2017/09/29 by Rob.Cannaday Add user ID to OnNetworkCheatDetected #!jira TEN-272 #!jira TEN-273 #!jira TEN-274 #!rb rob.cannaday #!tests Win64 AI match, simulate cheat detected by cheat command #!review-3672282 @ian.fox @sam.zamani Change 3671688 on 2017/09/29 by Frank.Gigliotti Added ability to set developer comment when adding native tags. #!RB David.Ratti #!Tests None Change 3670409 on 2017/09/28 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fix for dump type made while doing cleanup #!tests compiled Win64, PS4, ran PS4 #!rb none #!ROBOMERGE-SOURCE: CL 3664048 in //Orion/Release-43/... via CL 3664049 via CL 3664050 via CL 3664873 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3670399 on 2017/09/28 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed race condition in pipeline state cache Cache now trims every 60 secs to reduce memory. Saves ~95MB in a 60m game of Paragon (Couple of extra tweaks planned, but this should be GTG for a v43 release) #!rb codereviewed #!tests soaked locally, lots #!ROBOMERGE-SOURCE: CL 3663603 in //Orion/Release-43/... via CL 3663605 via CL 3663607 via CL 3664870 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3669802 on 2017/09/28 by Andrew.Grant From Dev-Framework #!jira UE-49858 Fix performance regression deleting many actors at once. It was redundantly serializing packages repeatedly to look for actor references, so now we cache that once per package and only display the slow dialog/p4 check when needed #!rb michael.noland #!codereview andrew.grant #!tests na Change 3669709 on 2017/09/28 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright Restored LoadTimesObjectVersion even though it is no longer used, packages saved with it will issue a warning in the cooker #!rb none #!TESTS none #!ROBOMERGE-SOURCE: CL 3664407 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3669177 on 2017/09/28 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy] Reflection Captures support Lighting Scenarios without recapturing * Reflection Captures are now part of the Map Build * Modifying a capture in editor will display a preview, but game can only display built captures (black for unbuilt with screen message) * Reflection Capture build data moved to the BuildData package * Building lighting / reflection captures no longer dirties ULevels * Sky lights which capture the scene now work correctly with Lighting Scenarios * Lighting Scenarios must now be loaded for each time they are made visible (no switching back and forth while keeping both loaded) #!rb Marcus.Wassmer #!TESTS Paragon editor Monolith02 #!ROBOMERGE-SOURCE: CL 3662969 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3669124 on 2017/09/28 by Daniel.Lamb Merging //Orion/Main/Engine/Shaders/Public/ShaderVersion.ush to //Orion/Dev-General/Engine/Shaders/Public/ShaderVersion.ush Fix cook in devgeneral Bumped shader version to invalidate stale uniform buffer name. #!rb none #!TESTS none #!fyi Daniel.Wright Change 3667906 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy] Fixed HandleLegacyMapBuildData not getting called on P maps loaded in the editor, which apparently was dropped in an integration error, causing all legacy maps (before the BuildData change) to lose their built lighting. #!rb none #!TESTS QAGame #!ROBOMERGE-SOURCE: CL 3662475 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667899 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy] Remove unused SM4 reflection capture cubemap #!rb none #!TESTS none #!ROBOMERGE-SOURCE: CL 3662462 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667894 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy from Brian] SM4 fallback for reflection captures. #!rb none #!TESTS none #!ROBOMERGE-SOURCE: CL 3662449 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667859 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy from Brian] Removed old rasterized deferred reflection env path. Removed reflection compute shader. Replaced with PS. Small perf gain. #!rb none #!TESTS none #!ROBOMERGE-SOURCE: CL 3662439 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667852 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy] Fixed missing include #!rb none #!TESTS none #!ROBOMERGE-SOURCE: CL 3662396 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667807 on 2017/09/27 by Daniel.Lamb Tencent DLC can now remap the plugin content to the game root directory. #!rb Ben.Marsh #!test Paragon regioncl dlc build, preflight ps4, win64 standard build + test Change 3667753 on 2017/09/27 by Clayton.Langford Adding automated test for capturing fx perf for lane minions. Also adding a Gauntlet node to run the test nightly, added test map to the cook list, updated the SpawnMinion phase to use new minion assets, and fixed an issue with the spawn timer. #!RB Ben.Salem, Adric.Worley #!tests PIE, local synced client/server, and Gauntlet's RunAutomaticTest.bat Change 3667408 on 2017/09/27 by Jordan.Walker Optimization to bakedNormal layer blend on Low end material quality -uses simple multiply and add normal map blend Change 3667388 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy] Moved Volumetric Lightmap textures out of FScene and into FPrecomputedVolumetricLightmapData so their lifetime can match the MapBuildData. This allows tossing the source BulkData in game after RHI texture creation even though switching lighting scenarios does Release/InitializeRenderingResources multiple times. #!rb none #!TESTS QAGame on console #!ROBOMERGE-SOURCE: CL 3662389 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667383 on 2017/09/27 by robomerge #!ROBOMERGE-AUTHOR: daniel.wright [Copy] CPU interpolation of Volumetric Lightmaps for the mobile renderer. They use a scene cache based on interpolation position, since the precomputed lighting buffer for movable objects is recreated every frame. #!rb none #!TESTS QAGame #!ROBOMERGE-SOURCE: CL 3662383 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3667265 on 2017/09/27 by Daniel.Lamb Fixed crash in the editor caused by trying to build hlods with StaticMeshComponents that don't have a static mesh assigned. #!rb Uriel.Doyon #!test Editor building hlods Change 3667159 on 2017/09/27 by Mieszko.Zielinski Added simple logging to BT loading allowing us to identify missing BB keys #!Orion #!test golden path #!rb Lukasz.Furman Change 3665944 on 2017/09/26 by Dan.Hertzka Fix PS4 compile #!rb none #!tests compile PS4 Change 3665590 on 2017/09/26 by Daniel.Lamb Fix for DLC cooking everything when it should only cook the DLC. #!rb None #!test None Change 3665569 on 2017/09/26 by Dan.Hertzka New status effect feed for the new HUD: - Now placed in the mid-upper-left side of the HUD - Biggest difference from before is that there are now names associated with each effect - If we can determine the ability it came from (and it has a name/icon), we show that as well. This doesn't work for any card effects yet. Cleaning: - Deleted all of the old buff widget classes & codepaths - Removed redundant properties from StatusEffectDisplayInfo - Added BuffStatusTags and DebuffStatusTags to AttributeViewItem. This allows us to associate the effects that modify an attribute with the attribute itself. Allowed me to remove about half of the entries in StatusEffectDisplayData Also: - Consolidated all of the events on FActiveGameplayEffect into a single struct. Since we don't want to allow non-const access to any other part of the active effect, each of these has an individual getter on the ASC. This is pretty obnoxious when you want to bind multiple events. There is now a getter for the event set of an active effect on the ASC. This allows more convenient non-const native access to these events - Added an event for when the inhibition of an effect changes. This is important for UI to know when an effect is no longer relevant (despite never being actually removed) @todo: Add support for showing the item ability names that are responsible for effects (note that this will be the ability, not the name of the item. The name of the item will be a lot harder.) #!rb Don.Eubanks #!tests OrionEntry PIE with some cards and hero abilities #!QAReview - Please keep an eye on this to make sure it works as expected during normal play. I wasn't sure how to test stack counts - not sure which status effects actually support that. They should show up though if any do. Please also verify that this still works/appears correctly during the tutorial. #!lockdown Billy.Rivers Change 3665555 on 2017/09/26 by Daniel.Lamb AudioStreaming mpsc queue fix up. #!rb Andrew.Grant #!test Compile paragon client / editor. Change 3665517 on 2017/09/26 by Daniel.Lamb Suspect fix for OR-44619 #!jira OR-44619 #!test Paragon editor compile #!rb Trivial Change 3664346 on 2017/09/26 by Jon.Lietz - making LifeSpanCallback inside UDecalComponent virtual so sub classes can override how Decals handle fade out. - Adding in UOrionDecalComponent to replace the use of UDecalComponent, for the most part they are the same the only thing we needed to change was the LifeSpanCallback() if the Owner is a AOrionGameplayCueNotify_Actor we dont call Super::LifeSpanCallback() that would result in the GC getting destroyed but now call GameplayCueFinishedCallback() so our gameplay cues will recycle as desired. - Updated all GC's data to use the new decal class - removed the option to place UDecalComponent as BP comp and only left our new UOrionDecalComponent #!rb Dave.Ratti #!reivew Dave.Ratti #!tests used characters that had decal comps in the GC and they recylce as expected. #!QAReview please check the effected abilities and cues, I tested and everything looks fine to me up a deeper check is needed. Change 3664099 on 2017/09/26 by Jon.Lietz OR-44510 - bringing over engine fixes for the Enum Redirector from Dev-Framework #!rb none #!tests compiles and warnings are gone Change 3663019 on 2017/09/25 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Gil: fixed race condition in the PipelineStateCache #!rb Daniel.Lamb #!test paragon ps4 with higher repro modified build #!lockdown Andrew.Grant #!jira OR-44441 #!ROBOMERGE-SOURCE: CL 3659463 in //Orion/Release-43/... via CL 3661481 via CL 3661489 via CL 3661497 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3663014 on 2017/09/25 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Quick fix to remove a redundant copy of the PipelineStateInitializer (saves 16MB over a 10min game) incase we need to submit a build before the more extensive changes are ready. #!tests ran locally #!rb [at daniel.lamb] [at arne.schober] #!ROBOMERGE-SOURCE: CL 3658907 in //Orion/Release-43/... via CL 3661480 via CL 3661488 via CL 3661494 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3663004 on 2017/09/25 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Changed dev check for extra commandline args from /data to /temp0 #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3658497 in //Orion/Release-43/... via CL 3661478 via CL 3661486 via CL 3661492 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3662999 on 2017/09/25 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Gauntlet - Fixed DateTime used for folders not being set #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3658390 in //Orion/Release-43/... via CL 3661477 via CL 3661485 via CL 3661491 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3662255 on 2017/09/25 by Sam.Zamani #!tencent - fix for link error due to missing define of static OnNetworkCheatDetected delegate #!rb none #!tests none Change 3662073 on 2017/09/25 by Sam.Zamani #!tencent Added new global network delegates callback FNetworkCheatDetected for when cheating is detected on a server Possible options #!jira TEN-275 TSS detect and expose punish user callbacks KickClient - User should be booted from the current game session via disconnect KickMatch - User received info about being punished (eg. ban type etc) PunishInfo - User received info about being punished (eg. ban type etc) #!rb rob.cannaday #!tests none Change 3659487 on 2017/09/22 by Josh.Markiewicz #!Orion - removed NUTFortnite* files because they have been moved into Fortnite specific plugin #!review-3659190 john.barrett, ryan.gerleve Change 3659485 on 2017/09/22 by Josh.Markiewicz #!UE4 - removed OSSUtils dependencies from NUTUnrealEngine4 since the refactor moved dependencies into game specific plugins #!fyi john.barrett, ryan.gerleve Change 3659184 on 2017/09/22 by Josh.Markiewicz #!UE4 - delete EpicSurvey module #!fyi justin.sargent, nick.darnell #!rb none Change 3658697 on 2017/09/22 by Ryan.Gerleve Fixes for server-side Tencent anti-cheat library integration: -Fix DLL loading to properly call tss_sdk_load and use the correct paths on Linux as well as Windows -Add getter for the TssSdkAntiInterf object -Enable server anti-cheat in editor builds #!codereview sam.zamani #!rb none #!tests enabled Tencent OSS, built & ran server Change 3658200 on 2017/09/22 by Graeme.Thornton Manual copy of CL 3587584 from Dev-Core Logging improvements for pak signature check failures - Added "PakCorrupt" console command which corrupts the master signature table - Added some extra log information about which block failed - Re-hash the master signature table and to make sure that it hasn't changed since startup - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again #!rb none #!tests been in Dev-Core and Main for a while now. Compile tests in Dev-General Change 3657970 on 2017/09/22 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Added Trim() delegate hook to PipelineStateCache so accumulated memory is freed on a hard level transition. We've noticed this memory growing considerably overtime and while it may reach a ceiling eventually it was still increasing after 60m of Paragon. This should at least reset it upon the end of each game, [at marcus.wassmer,] [at arne.schober] #!rb none #!tests cycled 6-7 levels of Paragon #!ROBOMERGE-SOURCE: CL 3657965 in //Orion/Release-43/... via CL 3657967 via CL 3657968 via CL 3657969 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657914 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Non-shipping: test and dev builds now check testkit's data drive for a commandline override. Not sure if this will work as-is, but shouldn't cause any harm if not and it needs to go into a pkg build for testing... #!tests stepped through in non-pkg build #!rb none #!ROBOMERGE-SOURCE: CL 3657910 in //Orion/Release-43/... via CL 3657911 via CL 3657912 via CL 3657913 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657906 on 2017/09/21 by Andrew.Grant Improved some logging #!tests used locally #!rb none Change 3657891 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Formalized idea of multiple test passes in Gauntlet. Current pass and total passes are provided to nodes incase they want to perform custom processing Fixed issue with -dev mode on PS4 not updating symbols #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3657887 in //Orion/Release-43/... via CL 3657888 via CL 3657889 via CL 3657890 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657867 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant [NULL MERGE] Re-locked network CL to 3652780 #!tests #!rb na #!ROBOMERGE-SOURCE: CL 3657221 in //Orion/Release-43/... via CL 3657359 via CL 3657366 via CL 3657374 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657857 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Removing start up dialog that warns of non-optional instructions - OR-44444 #!RB:arciel.rekman #!Tests:Compiled [CODEREVIEW] daniel.lamb, andrew.grant, arciel.rekman, benjamin.crocker, matthew.coleman, joe.graf #!ROBOMERGE-SOURCE: CL 3657058 in //Orion/Release-43/... via CL 3657355 via CL 3657364 via CL 3657370 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657852 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fix for case-insensitivity causing title.json not to be staged #!rb daniel.lamb, bob.tellez #!tests ran packaging script, verified contents match v42 #!ROBOMERGE-SOURCE: CL 3657054 in //Orion/Release-43/... via CL 3657353 via CL 3657363 via CL 3657369 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657831 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Removing popcnt version of CountBits to repair pre-Nehalem processors We can worry about a more permanent solution after we get this live. #!RB:none #!Tests: Compiled [CODEREVIEW] daniel.lamb, andrew.grant, ben.marsh, marcus.wassmer #!ROBOMERGE-SOURCE: CL 3656206 in //Orion/Release-43/... via CL 3657325 via CL 3657333 via CL 3657338 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657824 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant [CODEREVIEW] andrew.grant, jason.bestimt, jeff.williams Unresolved conflicts. andrew.grant, please merge this change by hand. //ROBOMERGE_ORION_Release_43_1/Engine/Binaries/Win64/UnrealCEFSubProcess.exe //ROBOMERGE_ORION_Release_43_1/Engine/Binaries/Win64/UnrealCEFSubProcess.pdb -------------------------------------- Built new UnrealCEFSubprocess client Changed OrionBuild.xml to build the shipping version of the above. The first should definitely fix out store issue. It's not clear to me if the latter will because if this artifact was being staged I'd expect to see UnrealCEFSubProcess-Win64-Development etc be distributed and it's not. This suggests to me we just stage what's in P4 and not the result of this step, but further investigationds will be needed to vet this. [at justin.sargent,[at benjamin.crocker,[at wes.fudala]]] #!ROBOMERGE-SOURCE: CL 3656066 in //Orion/Release-43/... via CL 3657319 via CL 3657332 via CL 3657337 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3657488 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: anton.migulko LIGHTING AND assets update #!ROBOMERGE-SOURCE: CL 3656996 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3656388 on 2017/09/21 by Laurent.Delayen Added default GetAxisVector static function to EAxisOption #!rb none #!FYI thomas.sarkanen #!tests lane minions test map Change 3656387 on 2017/09/21 by Laurent.Delayen Initialize FAnimInstanceProxy with default constructor. #!rb none #!fyi lina.halper, thomas.sarkanen #!tests lane minion test map Change 3656003 on 2017/09/21 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant [NULL MERGE] Locked net version to 3650578 for patching benjamin.crocker #!tests #!rb na #!ROBOMERGE-SOURCE: CL 3655998 in //Orion/Release-43/... via CL 3656000 via CL 3656001 via CL 3656002 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3654403 on 2017/09/20 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Merge DevCore -> Orion Release-43 CL 3641450 UE4 - Switch PS4 over to atomics that issue a full memory barrier. UE4 assumes atomics have memory barriers. #!rb Daniel.Lamb #!test Compile #!lockdown Andrew.Grant #!ROBOMERGE-SOURCE: CL 3654399 in //Orion/Release-43/... via CL 3654400 via CL 3654401 via CL 3654402 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3654356 on 2017/09/20 by Andrew.Grant Merging 3653658 from Dev-Rendering #!tests compiled, ran editor #!rb marcus.wassmer Change 3653914 on 2017/09/20 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Bumped script version to reprocess autosdks (installs debugger for CoreFileAPI access). #!rb none #!tests ran locally #!ROBOMERGE-SOURCE: CL 3653910 in //Orion/Release-43.1/... via CL 3653911 via CL 3653912 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3652495 on 2017/09/19 by Andrew.Grant Editgration of VR fix in 3643776 from Release-4.17 #!tests #!rb na Change 3652244 on 2017/09/19 by Sam.Zamani #!tencent Disable launcher checks if "-q" is on command line indicating QQ id when launched via TCLS launcher Added "-q" to whitelist of command line params for shipping builds Skip update URI routing to Epic Launcher for tencent builds since they use TCLS launcher #!rb rob.cannaday #!tests none Change 3651493 on 2017/09/19 by buildmachine BuildPhysX.Automation: Deploying PhysX & APEX & NvCloth Linux_x86_64-unknown-linux-gnu libs. #!rb none #!lockdown Nick.Penwarden #!tests none Change 3651490 on 2017/09/19 by buildmachine BuildPhysX.Automation: Deploying PhysX & APEX & NvCloth Linux_aarch64-unknown-linux-gnueabi libs. #!rb none #!lockdown Nick.Penwarden #!tests none Change 3651489 on 2017/09/19 by buildmachine BuildPhysX.Automation: Deploying PhysX & APEX & NvCloth Linux_arm-unknown-linux-gnueabihf libs. #!rb none #!lockdown Nick.Penwarden #!tests none Change 3651445 on 2017/09/19 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Integrating CL 3651124 from Release-4.17 to remove -ffast-math flag #!RB:none #!Tests:none [CODEREVIEW] dmitry.rekman, daniel.lamb, andrew.grant #!ROBOMERGE-SOURCE: CL 3651441 in //Orion/Release-43/... via CL 3651443 via CL 3651444 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3651059 on 2017/09/19 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Removed code to archive load-order during tests #!tests #!rb na #!ROBOMERGE-SOURCE: CL 3651056 in //Orion/Release-43/... via CL 3651057 via CL 3651058 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3651043 on 2017/09/19 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Changed error parsing from tests to put cause ahead of file info #!tests ran self-test #!rb none #!ROBOMERGE-SOURCE: CL 3651034 in //Orion/Release-43/... via CL 3651041 via CL 3651042 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3649683 on 2017/09/18 by Andrew.Grant Bulk-merge of oustanding changes in Main to DG #!tests #!rb na Change 3649345 on 2017/09/18 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Integrate fix for eidtor crash when switching between low and high scaleability options. #!rb Olaf.Piesche #!test Paragon editor #!ROBOMERGE-SOURCE: CL 3643174 in //Orion/Release-43/... via CL 3643214 via CL 3643240 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3649335 on 2017/09/18 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - OR-44257 - Fix for hair not working It is valuable to use the proper variable when doing Boolean logic :/ Cut-n-paste error from bit-packing conversion. #!RB:daniel.lamb #!Tests:Re-tested in cooked build [CODEREVIEW] daniel.lamb #!ROBOMERGE-SOURCE: CL 3643061 in //Orion/Release-43/... via CL 3643211 via CL 3643237 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3649231 on 2017/09/18 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Bit packing skel mesh cache variable and then reverting sound cue changes to avoid collision with AaronM #!RB:none #!Tests:none [CODEREVIEW] daniel.lamb, aaron.mcleran, marc.audy #!ROBOMERGE-SOURCE: CL 3642166 in //Orion/Release-43/... via CL 3643199 via CL 3643231 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3649211 on 2017/09/18 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Fix 'lowest' shadow settings (simple forward rendering) #!rb arne.schober [FYI] Daniel.Wright #!tests monolith #!ROBOMERGE-SOURCE: CL 3642119 in //Orion/Release-43/... via CL 3643196 via CL 3643228 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3649141 on 2017/09/18 by Stephan.Jiang Tagging files that shouldn't be merged up to Main, upon next engine merge should accept source. -- These are hacks for ability videos to work before we have the new Sequencer updates -- CLs contain those hacks: 3649066, 3649049, 3648752, 3648748 #!fyi Andrew.Grant, Max.Preussner #!rb none #!test compile Change 3649087 on 2017/09/18 by Thomas.Ross Merging //UE4/Dev-Framework/ CL#!3646428 using //UE4/Dev-Framework_to_//Orion/Dev-General #!rb none #!tests none #!fyi Andrew.Grant,Jeff.Williams,dan.oconnor Change 3649066 on 2017/09/18 by Max.Preussner WmfMedia: Fix for multiple media sessions being created when repeatedly opening media sources #!rb stephan.jiang #!rnx #!tests none Change 3649049 on 2017/09/18 by Max.Preussner Media: Changed audio sample rate warning to verbose log #!fyi stephan.jiang #!rb none #!rnx #!tests none Change 3648752 on 2017/09/18 by Max.Preussner WmfMedia: Fixed race condition in media sound wave #!rb none #!rnx #!tests none Change 3648748 on 2017/09/18 by Max.Preussner WmfMedia: Hack for preventing flicker between media source switching Do not merge to Dev-Main! #!rb stephan.jiang #!rnx #!tests none Change 3648596 on 2017/09/18 by Bart.Hawthorne More Oodle batch file fixes - cleaned up the changelist description and removed the changelist parameter since the branch parameter is enough. Change 3648575 on 2017/09/18 by Sam.Zamani #!tencent Fix for missing library calls when initializing TSS anti cheat SDK #!rb none #!tests compiles win64 server Change 3648556 on 2017/09/18 by Jeff.Williams Null Merging //Orion/Main to Dev-General (//Orion/Dev-General) @3642084 Clearing up robomerge #!rb none #!tests none Change 3648533 on 2017/09/18 by clayton.langford Unblocking RM. #!CodeReview: clayton.langford, jason.bestimt, andrew.grant, jeff.williams Unresolved conflicts. clayton.langford, please merge this change by hand. //ROBOMERGE_ORION_Dev_General/Engine/Source/Programs/AutomationTool/NotForLicensees/Gauntlet/Gauntlet.Automation.csproj -------------------------------------- Backing out 3641723 for now due to nontrivial merge conflicts. Did not back out change to DefaultEditor.ini since this change is unrelated to the conflict and essential for existing tests to run properly. #!RB Adric.Worley #!tests none #!ROBOMERGE-SOURCE: CL 3642084 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3648219 on 2017/09/18 by Sam.Zamani #!tencent fixed Tencent module thirdparty dll runtime dependency paths fixed DLLHandle not being set #!rb none #!tests none Change 3647998 on 2017/09/18 by Clayton.Langford Reorganized CardFXTests to the appropriate location for this branch as part of the merge associated with 3645763. #!tests compiled #!rb Adric.Worley Change 3647817 on 2017/09/18 by James.Golding Mirror fix from 4.18 release stream (CL 3647799) to Dev-General Fix out-of-bounds access of cloth mapping data during CPU skinning #!rb benn.gallagher #!jira UE-49628 #!fyi benn.gallagher #!tests convert RiftMage to static mesh Change 3647749 on 2017/09/18 by Benn.Gallagher Small change to windows memory intrinsics in PhysX to avoid VS compilation bug on windows causing restrict parameters to bleed the restrict into the calling scope. This caused matrix transposition to fail after the data was copied in using memcpy BuildPhysX.Automation: Deploying PhysX & APEX Win64 libs. #!rb none #!tests Editor reimport of clothing assets Change 3646242 on 2017/09/15 by Tyler.Cole Revert shared engine LocalMCP scripts. Change 3646153 on 2017/09/15 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Caching off HasActiveClothingAssets for SkeletalMeshes and ShouldApplyInteriorVolumes for SoundCues in non editor builds #!RB:daniel.lamb #!Tests: Ran cooked Client [CODEREVIEW] daniel.lamb, Benn.Gallagher, lina.halper, marc.audy #!ROBOMERGE-SOURCE: CL 3641934 in //Orion/Release-43/... via CL 3641936 via CL 3641940 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3646125 on 2017/09/15 by robomerge #!ROBOMERGE-AUTHOR: arne.schober OR - Sorting Primitive Components to increase I-Cache utilization and to keep the branch prediction alive during initviews. #!RB Marcus.Wassmer #!tests automated performance tests #!ROBOMERGE-SOURCE: CL 3641873 in //Orion/Release-43/... via CL 3641882 via CL 3641886 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3645861 on 2017/09/15 by clayton.langford #!CodeReview: clayton.langford, jason.bestimt, andrew.grant, jeff.williams Still need to move OrionTest.CardFXTest.cs to the correct location and generate the proper includes in the GauntletExtra csproj file. Will do this in a separate CL as advised by JeffW. Unresolved conflicts. clayton.langford, please merge this change by hand. //ROBOMERGE_ORION_Dev_General/Engine/Source/Programs/AutomationTool/NotForLicensees/Gauntlet/Gauntlet.Automation.csproj -------------------------------------- Adding more card types to the automated tests. We now support all cards with an active ability and valid target types. This brings us to a current total of 40 cards for now, but new cards that fit the criteria will automatically be included once they are added. To execute the tests, either run a gauntlet test for CardFXTests or enterthe following command from the frontend: Automation RunTests OrionPerf.Effects.Cards Known issues: The following cards do not properly confirm their abilities and so produce invalid results: StaticTrap, LampLighter, ProtectiveSentry, and AstralLeap. Disabling these cards is nontrivial as the tests are automatically generated. #!tests ran local client/server, preflighted #!rb Ben.Salem #!rnx [FYI] Sean.Tobin, Hunter.Kent, Edward.King #!ROBOMERGE-SOURCE: CL 3641723 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3644062 on 2017/09/14 by Aaron.McLeran #!jira OR-44171 Some looping sounds are extremely loud #!rb Ethan.Geller #!tests run paragon, run near water river, don't observe looping sound being very loud Change 3643901 on 2017/09/14 by Laurent.Delayen Integrated CL #!3604725 to fix bug with opening state machines from anim graph. #!rb none #!tests fixes bug #!FYI lina.halper Change 3643641 on 2017/09/14 by Rob.Cannaday Fix unreachable code detected #!rb rob.cannaday #!tests Win64 compile Change 3643326 on 2017/09/14 by Sam.Zamani #!tencent - temp disabled TerSafe.dll loading until staging issues can be resolved #!rb none #!tests none Change 3643039 on 2017/09/14 by Sam.Zamani #!tencent - temp disabled TSS on servers due to linux build issues #!rb none #!tests none Change 3642438 on 2017/09/13 by Rob.Cannaday Handle new analytics param types (number, string, etc) Stub implementation of FAnalyticsProviderETTencent DefaultAttrs #!rb rob.cannaday #!tests Win64 vs AI match Change 3641655 on 2017/09/13 by Sam.Zamani #!tencent WIP added tss_sdk.dll (server) and TerSafe.dll (client) JIRA TEN-262 StoryAnti-Cheat SDK - TerSafe.dll 3rd party module for client JIRA TEN-197 StoryTSS SDK 3rd party module for dedicated servers #!rb none #!tests PC run with RegionCN.pak enabling tencent mode Change 3641559 on 2017/09/13 by Bart.Hawthorne Fix up oodle dictionary generation scripts #!rb none #!jira none Change 3641550 on 2017/09/13 by robomerge #!ROBOMERGE-AUTHOR: john.nielson Added more temp logging in attempt to find OrionOR-43600: Master Bug: Some hero ability FXs are missing in v43 #!rb: none #!test: Pie #!ROBOMERGE-SOURCE: CL 3641546 in //Orion/Release-43/... via CL 3641548 via CL 3641549 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3641393 on 2017/09/13 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant We'd lilke to start using this on PS4 but the cost is very high (link-times are 60-90m!) so it needs to be something that is enabled selectively on the farm. I think we're going to consider it analogous to "Arxan" where it's on by default for Nightly/Standard builds in Release branches, but can be flipped off for quick turnarounds and is off in dev. Currently LTCG/LTO on PS4 is driven purely by bEnableLTOPerfBuilds / bEnableLTODevBuilds project settings. This change allows it to be specified as a command line UBT argument, and also preps the ground for targets to specify their own PGO file which would be used when LTO is enabled - Changed UBT option from -NoLTCG to -LTCG (I didn't see how it's possible to turn this on, since the default is false and adding the option also turns it false) - Added PGOInput option to TargetRules and passed through to compile environment - Updated UEBuildPS4.cs to that bAllowLTCG=true overrides settings in the ini file about what targets to have LTCG on for - Updated PS4 toolchain to use both LTO and PGO depending on what was set #!tests soaked locally, preflighted #!rb codereviewed FWIW here are before/after results for LTCG. Orion Performance report from 3 games and 1441.51 seconds MVP: 2.83 (Min: 2.05, Max: 3.22) HPM: 4.29 (Min: 4.24, Max: 4.37) AvgH: 2.77ms (Min: 2.08ms, Max: 4.16ms) GT: 12.88ms (Min: 12.68ms, Max: 13.25ms) RT: 13.71ms (Min: 13.48ms, Max: 14.08ms) GPU: 14.39ms (Min: 14.21ms, Max: 14.50ms) Orion Performance report from 3 games and 1440.49 seconds MVP: 1.42 (Min: 1.02, Max: 1.94) HPM: 3.25 (Min: 2.75, Max: 3.62) AvgH: 2.08ms (Min: 2.08ms, Max: 2.08ms) GT: 11.93ms (Min: 11.64ms, Max: 12.47ms) RT: 12.80ms (Min: 12.54ms, Max: 13.24ms) GPU: 14.10ms (Min: 13.91ms, Max: 14.27ms) #!ROBOMERGE-SOURCE: CL 3641352 in //Orion/Release-43/... via CL 3641354 via CL 3641357 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3640885 on 2017/09/13 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Limited warning to once every 10 secs. #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3640377 in //Orion/Release-43/... via CL 3640380 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3640875 on 2017/09/13 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed shipping config issue #!tests #!rb na #!ROBOMERGE-SOURCE: CL 3640328 in //Orion/Release-43/... via CL 3640362 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3640870 on 2017/09/13 by robomerge #!ROBOMERGE-AUTHOR: mieszko.zielinski Fixing CIS builds #!Orion The builds were failing because InitAsyncThread is being run as part of UHT, which doesn't usually include -DebugFX parameter, and warnings reported by UHT during reflection code generation are treated as errors. [CODEREVIEW] John.Nielson #!rb none #!test compilation #!ROBOMERGE-SOURCE: CL 3640310 in //Orion/Release-43/... via CL 3640361 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3640783 on 2017/09/13 by robomerge #!ROBOMERGE-AUTHOR: john.nielson More temporary logging for finding the missing FX issue. #!rb: none #!Test: Pie #!ROBOMERGE-SOURCE: CL 3640089 in //Orion/Release-43/... via CL 3640352 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3639910 on 2017/09/12 by Rob.Cannaday Build fix for AnalyticsETTencent #!rb rob.cannaday #!tests compile Win64 DebugGame Editor Change 3639565 on 2017/09/12 by Laurent.Delayen SkeletalMeshComponent::InitAnim doesn't call Update and Eval anymore, but instead initializes transforms with cheaper ref pose, and relies on regular ticking for updating the pose, so we can take advantage of visibility related optimizations. Also RecalcRequiredBones uses correct predicted LOD level instead of defaulting to 0. #!rb lina.halper #!FYI lina.halper #!tests minion test lane, dropping meshes in a level, testing masterpose component at runtime. Change 3639228 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Tools - Added ability to postmortem a PS4 devkit for last crash #!rb run locally #!tests none #!ROBOMERGE-SOURCE: CL 3639226 in //Orion/Release-43/... via CL 3639227 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3639075 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: jeff.williams Specifically requesting 'all' configuration, to avoid missing manifest in jar. #!ROBOMERGE-SOURCE: CL 3639072 in //Orion/Release-43/... via CL 3639074 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3639022 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka Remove dependency on the editor style set in the WidgetReflector - Fixes a crash when trying to use the reflector in a client cooked build - Also updated Focusable column name to shared var #!rb none #!tests Widget Reflected in a cooked build #!ROBOMERGE-SOURCE: CL 3639020 in //Orion/Release-43/... via CL 3639021 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3638984 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: john.nielson Added some more temp logging to get to the bottom of the missing FX issue. OR-43600 : Master Bug: Some hero ability FXs are missing in v43 #!rb: none #!test: Pie #!ROBOMERGE-SOURCE: CL 3638982 in //Orion/Release-43/... via CL 3638983 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3638696 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Swapped problematic ensure to LogError, made draft obey notimeouts. #!tests compiled #!rb none [at daniel.lamb] #!ROBOMERGE-SOURCE: CL 3638693 in //Orion/Release-43/... via CL 3638695 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3638644 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Third time's the charm #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3638620 in //Orion/Release-43/... via CL 3638636 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3638628 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Removed ensure in a PS4 friendly way #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3638550 in //Orion/Release-43/... via CL 3638551 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3638583 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Removed ensure to get a cook #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3638476 in //Orion/Release-43/... via CL 3638478 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3638545 on 2017/09/12 by Bart.Hawthorne Add analytics for oodle compression percentages #!rb ryan.gerleve, wes.hunt #!tests ran a 2 person game with dedicated server and verified analytics were reported #!jira OR-26386 Change 3638172 on 2017/09/12 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Duplicate 3620803 Partial Fix for Dither Opacity Mask #!rb none #!tests PC monolith #!ROBOMERGE-SOURCE: CL 3637837 in //Orion/Release-43/... via CL 3637838 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3637643 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: jeff.williams Fixing version stream to Main #!ROBOMERGE-SOURCE: CL 3637373 in //Orion/Release-43/... via CL 3637466 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3637524 on 2017/09/11 by Andrew.Grant Merging EngineTest and latest Gauntlet using //Orion/Dev-General/_To_//UE4/Orion-Stating #!tests build Win64 editor, ran tests locally #!rb none Change 3637402 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Gauntlet - Restored logging of runoptions when not verbose #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3636838 in //Orion/Release-43/... via CL 3636840 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3637357 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Made 'none' test specify Attended #!rb Daniel.Lamb #!tests compiled #!ROBOMERGE-SOURCE: CL 3636811 in //Orion/Release-43/... via CL 3636812 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3637305 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: john.nielson Added temporary debug logging cmd line option for finding Jira OrionOR-43600 #!RB: none #!Test: Pie [at David.Ratti] #!ROBOMERGE-SOURCE: CL 3636730 in //Orion/Release-43/... via CL 3636732 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3636549 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Integrating CL 3633162 from Dev-Rendering to guard around potential issues #!RB:none #!Tests:none [CODEREVIEW] uriel.doyon #!ROBOMERGE-SOURCE: CL 3636541 in //Orion/Release-43/... via CL 3636542 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3636507 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: dan.hertzka [OR-44013] & [OR-43780] - Hamstrung the old long-form rich text formatting functions to remove unsupported formatting immediately. Will be cleaning up API and usages in DG. Also: - Added distance formatting type for simple ability description values (will automatically append u to the value) - SimpleAbility description values can now go up to two decimal places Engine: - Modified FGameplayTag::ImportTextItem to account for redirects when establishing TagName #!rb Matt.Schembari #!tests PIE OrionEntry & FrontEndScene - various bug repros #!ROBOMERGE-SOURCE: CL 3636370 in //Orion/Release-43/... via CL 3636412 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3636372 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Implement fast particle pool memory. Default is 2mb, automatically cleans up oldest used pool slots. Estimated 1/4 time for STAT_PARTALLOC. #!rb Jason.Bestimt #!test paragon ps4 cooked #!ROBOMERGE-SOURCE: CL 3636045 in //Orion/Release-43/... via CL 3636048 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3636319 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed issue with fatal error message not being shown in reports. Fixed issue where some cancelled tests reported as succeeded #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3635951 in //Orion/Release-43/... via CL 3635955 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3636264 on 2017/09/11 by robomerge #!ROBOMERGE-AUTHOR: jason.bestimt #!ORION_43 - Integrating CL 3609090 && 3621546 from Dev-Rendering to help with Render Thread mip map streaming performance #!RB:none #!Tests: Ran client cooked build [CODEREVIEW] daniel.lamb, andrew.grant, Uriel.Doyon [QAREVIEW] #!ROBOMERGE-SOURCE: CL 3635817 in //Orion/Release-43/... via CL 3635819 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3635288 on 2017/09/10 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Added CleanDevices command and task that runs nightly in Dev-Gen to remove old builds from devices Fixed missing - in SoloSmoke args that were causing trailing params to be lost #!tests preflighted, ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3635286 in //Orion/Release-43/... via CL 3635287 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3635145 on 2017/09/09 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Bumped script version to pick up SDK change for patch packages #!rb none #!tests none #!ROBOMERGE-SOURCE: CL 3635143 in //Orion/Release-43/... via CL 3635144 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3635097 on 2017/09/09 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Added cleardevices option to Gauntlet that removes all devices after running. Added to Orion build scripts #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3635090 in //Orion/Release-43/... via CL 3635091 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3634985 on 2017/09/09 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Cleaned up some logging around device failures Attempt to handle "Too Many Connections" error at a lower level Added removeall command to PS4DevkitUtil (not yet used) #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3634983 in //Orion/Release-43/... via CL 3634984 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3634897 on 2017/09/09 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Checking in change to timeouts to test theory #!tests ran test locally #!rb none #!ROBOMERGE-SOURCE: CL 3634895 in //Orion/Release-43/... via CL 3634896 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3634765 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Scrape another .05ms out of GPU particle simulation. #!rb none #!tests ps4 monolith #!ROBOMERGE-SOURCE: CL 3634763 in //Orion/Release-43/... via CL 3634764 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3634422 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fix for Gauntlet shutdown issue on builders Fix for BP editing crash from Dev-Framework #!tests ran locally #!rb none! #!ROBOMERGE-SOURCE: CL 3634313 in //Orion/Release-43/... via CL 3634314 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3634139 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Gauntlet - provision devices on demand. Cuts down logging and reduces issue of kits having too many TM connections when tests on different branches are running #!tests ran locally with single and file-based devices #!rb none #!ROBOMERGE-SOURCE: CL 3633919 in //Orion/Release-43/... via CL 3633921 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3633799 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: laurent.delayen Fixed crash when on Turrets, when changing their MeshUpdate mode to Montages only. #!rb none #!tests monolith02 turrets [CODEREVIEW] lina.halper #!ROBOMERGE-SOURCE: CL 3633600 in //Orion/Release-43/... via CL 3633601 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3633647 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Possible fix for OR-43926 from Arne #!tests ran locally, observed no ensures or negative side-effects in UI or HUD #!rb none #!ROBOMERGE-SOURCE: CL 3633278 in //Orion/Release-43/... via CL 3633281 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3633637 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Upped timeout for editorbased tests #!tests #!rb none #!ROBOMERGE-SOURCE: CL 3633271 in //Orion/Release-43/... via CL 3633274 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3632565 on 2017/09/08 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Removed some test code... #!tests #!rb none #!ROBOMERGE-SOURCE: CL 3632563 in //Orion/Release-43/... via CL 3632564 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3632385 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant More improvements to device handling. Specifically PS4 targets now force-kill other connection if they're not in use, and fixed an edge case where devices could be left in TM and cause problems. #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3632383 in //Orion/Release-43/... via CL 3632384 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3632177 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: thomas.ross Merging CL#!3631888 from //UE4/Dev-Framework to //Orion/Dev-Release-43 #!rb none #!test local commandlet #!ROBOMERGE-SOURCE: CL 3632175 in //Orion/Release-43/... via CL 3632176 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3632131 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Fix a bug with new local vector-field only project setting #!rb none #!tests ps4 monolith #!ROBOMERGE-SOURCE: CL 3632127 in //Orion/Release-43/... via CL 3632130 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3632034 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed issue where problem devices were reset each attempt #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3632029 in //Orion/Release-43/... via CL 3632032 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3631812 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant More improvements to device management in Gauntlet #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3631602 in //Orion/Release-43/... via CL 3631604 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3631787 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: laurent.delayen Fix for OR-42922, reset TickRecords when doing 'OnlyTickMontagesWhenNotRendered' since the montage will appear to have jumped when regular ticking resumes. #!rb none [CODEREVIEW] martin.wilson #!test bot game #!ROBOMERGE-SOURCE: CL 3631532 in //Orion/Release-43/... via CL 3631536 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3631251 on 2017/09/07 by Andrew.Grant Additional device selection improvements #!tests #!rb na Change 3630861 on 2017/09/07 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Imrpoved device selection to randomize pick order, exclude devices that failed on the last round, and provide more info as to the constraints of the pool #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3630857 in //Orion/Release-43/... via CL 3630858 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3630620 on 2017/09/07 by Laurent.Delayen RigidBody anim node: Maintain Bone Velocity transfers through LOD changes. Refactored bone velocity transfer to be queued one frame, while we let final animation pose through. Added support for transferring angular velocity. If update rate is less than 30FPS, break down update into several iterations (max 4). This is to support URO, which can update animations at 15 FPS for minions. #!rb Ori.Cohen #!codereview benn.gallagher #!tests lane minions test map Change 3629990 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: daniel.lamb Fix for gpu hang on ps4. #!rb Marcus.Wassmer #!test Paragon cooked ps4 #!jira OR-43835 #!ROBOMERGE-SOURCE: CL 3629890 in //Orion/Release-43/... via CL 3629891 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629980 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Moved some missed code to FDebug::HasAsserted() #!tests na #!rb none #!ROBOMERGE-SOURCE: CL 3629794 in //Orion/Release-43/... via CL 3629795 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629975 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Project optimization to only support local vector fields. separate 'stat emitters' into 'stat emitters' and 'stat emittersrt' to separate gamethread cost from renderthread cost. #!rb olaf.piesche #!tests monolith ps4/pc #!ROBOMERGE-SOURCE: CL 3629782 in //Orion/Release-43/... via CL 3629783 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629917 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: marcus.wassmer Fix for sizebyspeed on ps4 #!rb Simon.Tovey #!tests pc #!ROBOMERGE-SOURCE: CL 3629660 in //Orion/Release-43/... via CL 3629661 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629620 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Always get the rest result from nodes, this is where UnrealTestNode parses logs for errors #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3629618 in //Orion/Release-43/... via CL 3629619 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629554 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Restored screenshot support to gauntlet (now driven externally) #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3629551 in //Orion/Release-43/... via CL 3629553 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629495 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: don.eubanks Stat panel will only show stat changes or improvements that come from Item sources (cards / gems) #!rb dan.hertzka #!tests Compile DebugGame Editor Win64 / Shipping Client PS4 / PIE [RN] Card Shop now only considers Attribute Point effects and Card effects when calculating the bonuses for stats on the stats panel. No more giant HP/MP regen numbers when standing in base! #!ROBOMERGE-SOURCE: CL 3629334 in //Orion/Release-43/... via CL 3629337 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629468 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Replaced global access to bHasAsserted to FDebug::HasAsserted() and added FDebug::IsEnsuring() Changed GameThreadWaitForTask so it won't timeout if an ensure is ocurring on a different thread. #!tests ran locally #!rb none [at marcus.wassmer] #!ROBOMERGE-SOURCE: CL 3629246 in //Orion/Release-43/... via CL 3629296 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629410 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant [CODEREVIEW] andrew.grant, jason.bestimt, jeff.williams Unresolved conflicts. andrew.grant, please merge this change by hand. //ROBOMERGE_ORION_Main/Engine/Plugins/Runtime/PacketHandlers/CompressionComponents/Oodle/Source/ThirdParty/NotForLicensees/Oodle/Oodle.Build.cs -------------------------------------- Fix for generating project files #!tests GPF #!rb none #!ROBOMERGE-SOURCE: CL 3629088 in //Orion/Release-43/... via CL 3629174 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629369 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Ignore pak signing if fileopenorder is specified (temp? workaround for deadlock in Orion tests) #!rb none #!tests verified signing is disabled and game gets to main menu with -fileopenlog [at graeme.thornton] #!ROBOMERGE-SOURCE: CL 3628814 in //Orion/Release-43/... via CL 3628816 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3629254 on 2017/09/06 by Laurent.Delayen URO: ensure we don't skip more frames than desired when switching LODs. #!rb lina.halper #!codereview martin.wilson, benn.gallagher #!test lane minions test map Change 3629191 on 2017/09/06 by Laurent.Delayen Added CopyAndAssign to BoneContainer. To help transfer Cached Poses through LOD transitions. #!rb lina.halper #!codereview martin.wilson #!test lane minions test map Change 3629130 on 2017/09/06 by Laurent.Delayen AnimInstance: tweaked debug display of AnimSequences, and added DeltaTime to AnimInstance debug. #!rb none #!tests lane minion test map Change 3628300 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed exception that could occur during tests if all devices were in use #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3628298 in //Orion/Release-43/... via CL 3628299 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3627915 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Undoing Oodle check for the time being #!tests #!rb none #!ROBOMERGE-SOURCE: CL 3627913 in //Orion/Main/... #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3627875 on 2017/09/06 by Jason.Bestimt #!ORION_DG - Merge of CL#! 3626655 from Dev-Framework to fix assetimportdata loading (allowing for re-import of curve tables) #!RB:none #!Tests:none #!CodeReview: andrew.grant, alex.gillies, colin.fogle, benjamin.crocker #!ROBOMERGE: MAIN, 43 Change 3627694 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Improved warnings #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3627691 in //Orion/Release-43/... via CL 3627693 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3627642 on 2017/09/06 by robomerge #!ROBOMERGE-AUTHOR: david.ratti More logging for OR-43892 and OR-43779 #!rb none #!tests compile #!ROBOMERGE-SOURCE: CL 3627640 in //Orion/Release-43/... via CL 3627641 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3627247 on 2017/09/05 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Removed check that turns out to be bogus #!tests #!rb none #!ROBOMERGE-SOURCE: CL 3627245 in //Orion/Release-43/... via CL 3627246 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3627240 on 2017/09/05 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Added compile-time check for presence of Oodle files to prevent future hard-to-debug-runtime-failures #!tests compiled OrionClient [at daniel.lamb] #!rb none #!ROBOMERGE-SOURCE: CL 3627237 in //Orion/Release-43/... via CL 3627239 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3627211 on 2017/09/05 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Added ensure for OR-43777 #!tests compiled #!rb none #!ROBOMERGE-SOURCE: CL 3627209 in //Orion/Release-43/... via CL 3627210 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3626839 on 2017/09/05 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Added wait to PS4DevkitUtil before trying to postmortem crashdump #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3626833 in //Orion/Release-43/... via CL 3626837 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3626755 on 2017/09/05 by Rob.Cannaday Merge //Orion/Release-Tencent to //Orion/Dev-General Some features need to be re-implemented as noted by #!ifdef TODO_TENCENT TODO: Figure out how to have OnlineSubsystemTencent be Enabled by default in OrionGame.uproject, some calls to IOnlineSubsystem::IsLoaded(TENCENT_SUBSYSTEM) will return true even though the OSS is disabled by config because the module itself is loaded #!rb sam.zamani #!lockdown andrew.grant #!tests Win64 vs AI match, QA smoke test #!fyi sam.zamani Change 3626285 on 2017/09/05 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fixed BaseDir argument not being correctly applied in tests Added check for LowLevelFatalError to log parser. Don't consider RequestExit's clean if StaticShutdownAfterError was called #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3626280 in //Orion/Release-43/... via CL 3626284 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3626221 on 2017/09/05 by robomerge #!ROBOMERGE-AUTHOR: david.ratti Queue OnRep_ReplicatedMovement for simulated proxy OrionChars for a single end of frame call. This is to address when clients can't keep up with server's send rate and end up processing multiple packets / actor bunches in a single frame. Rather than handling multiple bunches with movement updates and calling OnRep_ReplicatedMovement every time, this will call the OnRep once at the end of the frame. Can be toggled off via UOrionRuntimeOptions::bQueueSimulatedProxyOnRepMovement #!rb none #!tests verified OnRep_Movement doesn't show up in profiler when client running at < 60hz [at Laurent.Delayen] [FYI] [at Andrew.Grant] #!ROBOMERGE-SOURCE: CL 3626215 in //Orion/Release-43/... via CL 3626219 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3625925 on 2017/09/05 by Laurent.Delayen If using URO with bShouldUseLodMap and we're missing higher LOD numbers into our LOD Map, use highest available settings (below our current LOD number). Instead of defaulting to high quality (eval every frame), which is certainly not what we want. #!rb benn.gallagher #!codereview martin.wilson, lina.halper #!tests lane minion map Change 3624051 on 2017/09/02 by Andrew.Grant Fixed issue with test params not being set. Went through OrionBuild.xml and added explicit configs arguments to tests where missing. Also set order of args to tests as "-platform -config" to improve readability. #!tests preflighted #!rb none #!review-3624052 @ben.salem Change 3623907 on 2017/09/02 by Andrew.Grant Fixed usesyncedbuild option being broken in Gauntlet #!codereview @daniel.lamb #!tests compiled #!rb none Change 3623906 on 2017/09/02 by David.Ratti Fix some issues where GameplayCues played on an OrionBaseActor wouldn't be properly translated for skin overrides #!rb none #!test future wukong pie Change 3623766 on 2017/09/01 by Daniel.Wright [Copy] Volume materials on static meshes now voxelize the mesh's Object space bounding box #!rb none #!Tests PC QAGame Change 3623518 on 2017/09/01 by Don.Eubanks Fix for Shipping Client PS4 #!rb none #!tests Compile Shipping Client PS4 #!fyi daniel.lamb andrew.grant Change 3623515 on 2017/09/01 by Daniel.Wright [Copy] Volume materials applied to static meshes operate on the object's bounding sphere #!rb none #!TESTS QAGame PC Change 3623503 on 2017/09/01 by Daniel.Wright [Copy] Fixed ObjectRadius in Volume domain materials #!rb none #!TESTS none Change 3623102 on 2017/09/01 by Marcus.Wassmer Add GT (gamethread), AT (async task), RT (renderthread) to stuff in 'stat particles' to make things easier to understand #!rb none #!tests monolith on PS4 #!fyi olaf.piesche,tim.elek Change 3623096 on 2017/09/01 by Marcus.Wassmer checkslow -> check to find issues with ILC #!rb none #!tests ran monolith on ps4 Change 3622744 on 2017/09/01 by Laurent.Delayen RigidBody anim node: Added option 'bTransferBoneVelocities' to transfer bone velocities to simulation upon start, so ragdolls transition seamlessly from kinematic (animation) to simulation. (just linear velocity for now). Added 'bFreezeIncomingPoseOnStart' option to freeze incoming pose and stop ticking/evaluating rest of the AnimGraph. Also prevents animation animating non simulated bodies. Take gravity from movement component if present, to inherit custom gravity scaling. Use proper animation deltatime, rather than world deltatime, as that would cause the simulation to run in slow motion when URO was used. If LOD enables new bodies, they are now initialized during simulation. Only write transforms from simulated bodies. Stop considering children of simulated bodies, since SkelControl system handles that by default. Cached MeshBoneIndexToBodyIndex on initialization to avoid linear search during InitializeBoneTransforms, on LOD change. Added AnimStats for PreUpdate, Update and Eval. #!rb ori.cohen #!codereview ori.cohen, lina.halper, benn.ghallager #!tests lane minion test map Change 3622743 on 2017/09/01 by Laurent.Delayen Added UpdateComponentPose_AnyThread and EvaluateComponentPose_AnyThread to AnimNode_SkeletalControlBase to allow overriding these in child classes. #!rb lina.halper #!tests lane minion test map Change 3622742 on 2017/09/01 by Laurent.Delayen 'showdebug animation' now shows current LOD, various counters to know if Update/Eval/Cachebones/Init was called. Also URO settings. Renamed DisplayDebugCustom to DisplayDebugInstance. #!rb lina.halper #!tests lane minion test map Change 3622738 on 2017/09/01 by Laurent.Delayen Removed unused USkinnedMeshComponent::AnimUpdateRateSetParams #!rb lina.halper #!tests lane minion test map Change 3622666 on 2017/09/01 by Jian.Ru Fix incorrect grouping when FHierarchicalStaticMeshSceneProxy::GetDynamicMeshElements #!jira UE-48972, OR-43455 #!rb Chris.Bunner #!tests editor Change 3622579 on 2017/09/01 by Andrew.Grant Fixed shutdown issues with some tests being detected as errors Simplied and cleanup some things in state management of tests. #!tests ShortSOloGame test locally #!rb none Change 3622322 on 2017/09/01 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fix for OR-40366 from v43 #!tests compiled #!rb Aaron.McLeran #!ROBOMERGE-SOURCE: CL 3620707 in //Orion/Release-42.4/... via CL 3621208 via CL 3622295 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3621054 on 2017/08/31 by Andrew.Grant Merging Gauntlet refactor from //Orion/Dev-General/_To_//UE4/Orion-Stating #!tests preflighted #!rb none Change 3620755 on 2017/08/31 by Daniel.Lamb Added a pooling system for FDynamicSkelMeshObjectDataGPUSkin. Doesn't add a lot of memory over head. Cleans out every few allocations. #!rb Jason.Bestimt #!test Cooked paragon ps4 Change 3620541 on 2017/08/31 by Ben.Salem Tag all nightly gauntlet report emails with [NightlyAuto] for easier sorting. #!rb none #!tests compiled. Change 3620443 on 2017/08/31 by Mieszko.Zielinski Extended EQSTestingPawn with an option to specify its nav agent properties to affect navigation-related EQS tests/features #!UE4 #!rb none #!test golden path Change 3620428 on 2017/08/31 by Aaron.McLeran #!jira OR-40366 Bringing fix from FN and Anim-Phys to Dev-General #!rb Ethan.Geller #!tests there is no internal repro. Rare crash online. Confirmed fixed in FN crash reports. Change 3620411 on 2017/08/31 by Mieszko.Zielinski Fix to removal of simuli sources from the AISense_Sight #!UE4 Made sure given source gets removed from ObservedTargets. #!rb none #!test golden path Change 3620343 on 2017/08/31 by Ben.Salem Add hitch reporting into FX tests. Layout is definitely WIP but we want the data in those reports to iterate on. #!rb clayton.langford #!tests ran shallow and normal FX tests, generated hitches to display. Change 3620050 on 2017/08/31 by Luke.Thatcher [ORION] [PS4] [^] Merging compile fix in UEBuildPS4.cs (CL 3619919) from //UE4/Dev-Console/... to //Orion/Dev-General/... - USE_DEFRAG_ALLOCATOR was not always defined in all cases. #!rb Daniel.Lamb #!tests none Change 3619836 on 2017/08/31 by Andrew.Grant Merging //UE4/Main @ 3613306 (largely 4.17 fixes and an update from rendering team) #!tests preflighted, ran locally #!rb none Change 3618597 on 2017/08/30 by Dan.Hertzka Fixed Additive UI materials not being affected by the widget opacity - We needed to multiply the sampled color by the alpha of the vertex color Also added fade in anim for scoreboard when showing after the endgame cinematic #!rb Nick.Darnell #!tests Widget alpha affects additive materials Change 3618441 on 2017/08/30 by Laurent.Delayen Added AnimInstance::DisplayDebugCustom, to display custom debug info before AnimGraph display. #!rb lina.halper #!tests lane minions Change 3618404 on 2017/08/30 by Paul.Moore - Update to new MMS client API from Fortnite. - Add MMS API plugin. #!rb none #!tests matchmaking, v2 MMS matchmaking, draft lobby. #!lockdown andrew.grant Change 3618167 on 2017/08/30 by Marcus.Wassmer Fix fog on PS4, also volume texture clears. #!rb luke.thatcher #!fyi Jordan.Walker #!tests ran monolith on ps4 Change 3617911 on 2017/08/30 by Andrew.Grant Fix for OR-43401, lighting remaining unbuilt #!tests ran cook, verified that lighting for bp components is now correctly found. #!rb marc.audy Change 3617765 on 2017/08/30 by Andrew.Grant Fix for lighting always being unbuilt on some blueprints #!tests cooked data and verified BP components have the correct transform and receive cached lighting data #!rb marc.audy, bp-team Change 3617757 on 2017/08/30 by Laurent.Delayen clang fix #!rb none #!tests none Change 3617700 on 2017/08/30 by Laurent.Delayen Added PreEvalSkelControl_AnyThread to SkelControlBase, to allow capture of incoming pose before SkelControl is evaluated. #!rb lina.halper #!tests lane minions map Change 3617695 on 2017/08/30 by Laurent.Delayen Added Empty() to FBaseCompactPose and FCSPose, to release allocated arrays. #!rb lina.halper #!tests test lane minions map Change 3616757 on 2017/08/29 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Fix for OR-43459 from Laurent #!tests na #!rb Lina.Halper, Andrew.Grant #!ROBOMERGE-SOURCE: CL 3615643 in //Orion/Release-42.3/... via CL 3615645 via CL 3615649 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3616745 on 2017/08/29 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant [NULL MERGE] Locked net version to 3609966 in anticipation of patch #!rb #!tests na #!ROBOMERGE-SOURCE: CL 3615584 in //Orion/Release-42.3/... via CL 3615592 via CL 3615597 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3616551 on 2017/08/29 by Daniel.Lamb Fix memory leak in paragon. #!rb Andrew.Grant #!test Paragon ps4 Change 3613700 on 2017/08/28 by Andrew.Grant Integrated r.Shadow.UnbuiltPreviewInGame support from Dev-Rendering (reduces cost of rendering unbuilt lighting). Set to off for Orion Renabled r.Cache.UpdatePrimsTaskEnabled #!tests ran locally #!rb none Change 3613694 on 2017/08/28 by Andrew.Grant Added -teamsize argument to Orion none test. #!tests ran None test :) #!rb none Change 3613638 on 2017/08/28 by Ben.Salem Hide threshold colors for Perf tests on Thread times when in development. Add hyperlinks to description videos for Shallow tests. Support for linking new videos on other tests is already in for when videos are created. #!rb clayton.langford #!tests Ran shallow and deep test for multiple characters. Change 3612731 on 2017/08/28 by Chris.Bunner [DUPLICATE] CL 3572421 - Edge case in lazyobjptr assignment failing for landscape collision components which causes grass data to be flushed during cook. #!rb #!fyi Robert Manuszewski, Andrew.Grant, Daniel.Lamb #!tests Cooking/running simple scene with grass foliage #!jira UE-48698, OR-42612 Change 3612695 on 2017/08/28 by Andrew.Grant Added longtimeouts option that uses TimeoutMultiplierForUnoptimizedBuilds value for net connections to solve issue where nomcp can timeout due to non-async loading Moved Gauntlet-in-shipping determination to OrionClient.Target.cs so it can be enabled with other things. #!tests ran NoneTest with -nomcp #!rb none Change 3612002 on 2017/08/27 by Andrew.Grant Fix for crash seen during nightly tests #!tests baseline perf didn't crast 3/3 #!rb none Change 3611980 on 2017/08/27 by Andrew.Grant PS4DevkitUtil post-mortem improvements to logging #!tests run ShortSoloGame #!rb none Change 3611758 on 2017/08/26 by Andrew.Grant Fix for warning #!tests #!rb na Change 3611737 on 2017/08/26 by Andrew.Grant Merging optimizations 3517039, 3545241, & 3545347 from Dev-Rendering 3517039 - GitHub #!2655: Optimization for shadow map resolution selection for spot lights * Use the radius of the inscribed sphere at the cone end as the spot light's screen radius Note: slight drop of shadow quality of spot lights may occur when they are far away from the camera. This is intended, since before this optimization they tend to be always rendered with the maximum shadow map resolution (2048), which is very costly 3545241 - Fixed spotlight whole scene shadows using a radius 2x too long 3545347 - Fixed shadow occlusion culling broken by shadowmap caching change. FProjectedShadowKey is now computed correctly for whole scene shadows and SDCM_StaticPrimitivesOnly shadowmaps will fall back to the query for a SDCM_MovablePrimitivesOnly, since the static primitives shadowmap's query is not issued every frame. #!rb none #!tests compiled Change 3611718 on 2017/08/26 by andrew.grant #!CodeReview: andrew.grant, jason.bestimt, jeff.williams Unresolved conflicts. andrew.grant, please merge this change by hand. //ROBOMERGE_ORION_Dev_General/Engine/Source/Programs/AutomationTool/NotForLicensees/Gauntlet/Unreal/Gauntlet.UnrealLogParser.cs -------------------------------------- Improved parsing of callstacks and errors in test logs Added unit test for error parsing #!tests ran locally, unit tests #!rb none #!ROBOMERGE-SOURCE: CL 3611709 in //Orion/Release-42.3/... via CL 3611710 via CL 3611711 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3611704 on 2017/08/26 by robomerge #!ROBOMERGE-AUTHOR: andrew.grant Test fixes - addresses issue with memory report failing #!tests ran locally #!rb none #!ROBOMERGE-SOURCE: CL 3611695 in //Orion/Release-42.3/... via CL 3611702 via CL 3611703 #!ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 3611683 on 2017/08/26 by Andrew.Grant Upgraded PS4 SDK to 4.508.111 #!tests SoloGames locally #!rb none Change 3611466 on 2017/08/25 by Andrew.Grant Changed none test to use monolith02 by default #!tests compiled #!rb none Change 3611167 on 2017/08/25 by Laurent.Delayen Reset UpdateCounter in AnimProxy when initialized, to force an update if rendered without updated. #!rb none #!tests lane minions #!codereview martin.wilson Change 3610850 on 2017/08/25 by dan.hertzka Unclog Robomerge #!rb none #!tests none Change 3610325 on 2017/08/25 by Andrew.Grant Compile fix for PS4 #!tests compiled #!rb none Change 3610018 on 2017/08/25 by Laurent.Delayen UE-48827, OR-43346, OR-43345 Fix for SingleNodeInstances not getting ticked properly. Due to them not increasing UpdateCounter, and forcing a tick even if we're doing parallel ticking later. #!rb lina.halper #!tests venus ult on minion lane test map Change 3609967 on 2017/08/25 by Daniel.Lamb Merging using //Fortnite/Main/->//Orion/Dev-General/ Bringing across several changes to the texture streamer and budgets from fortnite so as to reduce our garlic memory pool slack for PS4. CL 3526904 [FORTNITE] [PS4] [!] Fix blurry textures in shipping. - The texture streaming manager has additional logic in shipping builds which caused textures to never stream back in once they had streamed out. - Added an extra flag to reset mip bias values when texture memory budget is increased. #!rb Uriel.Doyon #!jira FORT-45385 #!jira FORT-47739 CL 3505459 [FORTNITE] [PS4] [~] Memory savings for Fortnite on PS4. - Disabled LLM. This was increasing the libc heap from 32MB to 100MB in builds with STATs enabled. - Reduced Libc heap size from 32MB to 8MB. The game only uses 2-3 MB of this heap space, so additional memory is wasted. - Removed "RESERVED_MEMORY_SIZE" allocation. This is just wasting 1 MB unnecessarily. There is already ~1.5 MB of unallocated direct memory due to alignment requirements of the garlic/onion heaps. #!jira FORT-45229 #!rb Ben.Woodhouse CL 3564368 LLM Changes Summary: LLM now has 3 stat pages, stat LLM for engine allocations, LLMPlatform for OS allocations and LLMOverhead. Changes where LLM hooks into the various allocation functions and pools. Added more LLM tracking scopes. Changed the way LLM gets its internal memory. Writing stats out to csv Fixed a few bugs with the tracker code Details: * re-enabled LLM by default in Dev builds for XB1 and PS4 * Reduced overhead to 30MB when LLM is defined in but disabled (this will be removed in a future update) * track allocations made from the defrag pool (PS4) * track non-drfrag pool garlic allocations (PS4) * track allocations made from PS4 malloc * combined the RHI and Malloc trackers into the Default tracker * changed stat groups to LLM, LLMPlatform and LLMOverhead * OnLowLevelAlloc how takes a default tag to be used is no tag scope has been set * XMemAlloc now uses AllocationType if no LLM scope has been set * renamed VirtualMap to LLMMap * added global function pointers for LLMMap to use to allocate memory. Using malloc to allocate memory meant that we couldn't track that memory using LLM. LLM now uses the lowest level OS function depending on the platform. If the platform doesn't set these fiunction pointers LLM will be disabled. * support for tracking allocations that move in memory (for the PS4 defrag allocator) * support for tracking explicit memory without pausing the tracker * LLMCsvWriter for writing out the LLM stats periodically. Enable with -LLMCSV command line arg * fixed check in FNameToTag. It was checking the wrong value when verifying the name index * show a warning on screen if LLM has been enabled without debug memory enabled (on consoles) * fixed program size tracking * fixed bug with tag scopes being tracked in all trackers. This caused allocations to be counted in stats that were not shown in the tracker. The tracker is now passed in to the scope. * optimised FLLMScopedTag so that it only calls the singleton once when disabled (instead of 3 times) * fixed problem in the Pause feature. It now only pauses the specified tracker instead of all of them. * fixed compile error when LLM_ALLOW_ASSETS_TAGS is disabled * changed default alloc size for LLMMap to 16K * Added lots more LLM scopes renamed some of the existing ones * made FMemBlock::Allocators private and added accessor functions, which include LLM tracking. * fixed LLM alignment tracking in CustomVirtualAlloc * implemented LLM on XB1 so that it properly tracks D3D12Allocations * added tracking to allocations that come from FMemBlock (excluding the defrag heap alloc) and removed tracking from Growable allocator * tracking of render targets * fixed LLM pool total column value. #!rb luke.thatcher CL 3565905 [ATHENA] [PS4] [^] Merging new PS4 memory system from //UE4/Dev-Console/... to //Fortnite/Dev-Athena/... 3458941 - Initial submission of new PS4 memory allocator. 3485054 - Finer grain scope locks. Prevents contention stalls between threads where possible. 3498440 - Flexible and framebuffer memory fallbacks 3515704 - Add stats to new PS4 memory system. UEBuildPS4.cpp changes reimplemented as edit. Cannot merge as Dev-Athena's copy is too old to merge properly. #!rb Ben.Woodhouse CL 3580934 [FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo. - Neo has 512 MB more direct memory than a base kit. - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB. #!rb Marcus.Wassmer #!jira FORT-50206 CL 3590180 [FORTNITE] [PS4] [!] Allow fallback to MallocBinned2 when Libc mspace heaps are exhausted. - Since FORCE_ANSI_ALLOCATOR is not defined, the Libc heap only had 8 MB. - Platform and 3rd party libraries that make libc malloc/free calls could potentially crash OOM if we exhausted the pool. - Now, when no memory is left in the mspace heaps, we call into the base allocator (MallocBinned2). This has the added benefit that we should get proper OOM crashes/logs if a libc allocation fails. #!jira FORT-49700 #!rb Aaron.McLeran CL 3593920 [FORTNITE] [PS4] [!] Fix 4 GB CPU memory limit in old PS4 memory system. - Incorrect bitmask usage was truncating the available memory value to 32 bits. - Also includes some minor refactoring to make parts more readable. - Removed PS4_USE_FLEXIBLE_FIRST. Dead code that doesn't compile. #!rb Jonathan.Fitzpatrick #!jira FORT-50918 CL 3597577 [FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU. - Previously the amount of texture memory wasnÆt fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack. - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is. #!rb Stewart.Lynch #!jira FORT-50825 #!jira FORT-49688 #!jira FORT-49695 #!jira FORT-50054 CL 3601951 [FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0. - Added garlic, onion and defrag stats to the platform memory stats struct. - Added fixed pool sizes to platform memory stats. - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools. #!rb Stewart.Lynch #!jira FORT-52910 #!test preflight with baseline performance memory report tests, local tests on neo #!rb Luke.Thatcher Change 3608480 on 2017/08/24 by Uriel.Doyon Instanced static mesh lightmaps are now updated correctly after lighting scenario changes #!jira UE-48522 #!tests Build lighting, loaded maps #!rb michel.dupuis Change 3608407 on 2017/08/24 by Andrew.Grant Reintegrated ROlando's cloth optimizations #!tests #!rb none Change 3608349 on 2017/08/24 by Rolando.Caloca O - Cloth vertex buffers no longer generate dummy vertices #!rb Lina.Halper #!fyi James.Golding #!tests Check obj list memory with multiple characters, tested animations Change 3607815 on 2017/08/24 by Laurent.Delayen Fixed crash when displaying a two bone IK gizmo for a node that hadn't had a chance to evaluate or had a zero alpha. https://jira.it.epicgames.net/browse/OR-43186 #!rb none #!tests Price hand two bone IK #!codereview lina.halper, thomas.sarkanen Change 3607770 on 2017/08/24 by Andrew.Grant Fixed bug with peak memory being missing in BaselinePerf tests and time being wrong #!tests ran locally, updated parser test #!rb none Change 3607546 on 2017/08/24 by Jian.Ru Add more control to chromatic aberration effect #!jira UE-47138 #!rb Brian.Karis #!tests editor Change 3607270 on 2017/08/24 by Andrew.Grant Mirroring 3605735 from FN to address bug with MIC deduplication #!tests compiled #!rb none Change 3607082 on 2017/08/24 by Laurent.Delayen Moved up Paragon functionality to cycle between targets with PageUp and PageDown for 'showdebug' commands. List of targets is contextual (For example 'showdebug animation' will consider all visible actors with an AnimGraph). Current debug Target is highlighted in a green bounding box. Paragon now supports 'ShowDebugForReticleTargetToggle <class>' to have 'showdebug' for Actors aimed at by the player. Paragon maintains feature to track AbilitySystemComponents across Targets. But Cycling is restricted to visible actors. Target cycling in Paragon now works for all 'showdebug' tags, not just ASCs and Animation. #!rb dave.ratti #!tests lane minion test map, debugging individual minions #!codereview jon.lietz Change 3606772 on 2017/08/24 by David.Ratti Spot edigrate CL 3606417 for accurate CurveTable memory tracking #!rb none #!tests none [CL 3748735 by Andrew Grant in Main branch]
2017-11-09 18:22:55 -05:00
// signed if we have keys, and are not running with fileopenlog (currently results in a deadlock).
bSigned = GetPakSigningKey().IsValid() && !FParse::Param(FCommandLine::Get(), TEXT("fileopenlog"));;
// Find and mount pak files from the specified directories.
TArray<FString> PakFolders;
GetPakFolders(FCommandLine::Get(), PakFolders);
MountAllPakFiles(PakFolders);
#if !UE_BUILD_SHIPPING
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
GPakExec = MakeUnique<FPakExec>(*this);
#endif // !UE_BUILD_SHIPPING
FCoreDelegates::OnMountAllPakFiles.BindRaw(this, &FPakPlatformFile::MountAllPakFiles);
FCoreDelegates::OnMountPak.BindRaw(this, &FPakPlatformFile::HandleMountPakDelegate);
FCoreDelegates::OnUnmountPak.BindRaw(this, &FPakPlatformFile::HandleUnmountPakDelegate);
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
#if !(IS_PROGRAM || WITH_EDITOR)
FCoreDelegates::OnFEngineLoopInitComplete.AddLambda([this] {
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("Checking Pak Config"));
bool bUnloadPakEntryFilenamesIfPossible = false;
GConfig->GetBool(TEXT("Pak"), TEXT("UnloadPakEntryFilenamesIfPossible"), bUnloadPakEntryFilenamesIfPossible, GEngineIni);
if (bUnloadPakEntryFilenamesIfPossible)
{
// With [Pak] UnloadPakEntryFilenamesIfPossible enabled, [Pak] DirectoryRootsToKeepInMemoryWhenUnloadingPakEntryFilenames
// can contain pak entry directory wildcards of which the entire recursive directory structure of filenames underneath a
// matching wildcard will be kept.
//
// Example:
// [Pak]
// DirectoryRootsToKeepInMemoryWhenUnloadingPakEntryFilenames="*/Config/Tags/"
// +DirectoryRootsToKeepInMemoryWhenUnloadingPakEntryFilenames="*/Content/Localization/*"
TArray<FString> DirectoryRootsToKeep;
GConfig->GetArray(TEXT("Pak"), TEXT("DirectoryRootsToKeepInMemoryWhenUnloadingPakEntryFilenames"), DirectoryRootsToKeep, GEngineIni);
FPakPlatformFile* PakPlatformFile = (FPakPlatformFile*)(FPlatformFileManager::Get().FindPlatformFile(FPakPlatformFile::GetTypeName()));
PakPlatformFile->UnloadPakEntryFilenames(&DirectoryRootsToKeep);
}
bool bShrinkPakEntriesMemoryUsage = false;
GConfig->GetBool(TEXT("Pak"), TEXT("ShrinkPakEntriesMemoryUsage"), bShrinkPakEntriesMemoryUsage, GEngineIni);
if (bShrinkPakEntriesMemoryUsage)
{
FPakPlatformFile* PakPlatformFile = (FPakPlatformFile*)(FPlatformFileManager::Get().FindPlatformFile(FPakPlatformFile::GetTypeName()));
PakPlatformFile->ShrinkPakEntriesMemoryUsage();
}
});
#endif
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3228803) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209807 on 2016/11/24 by Chris.Wood CRP now has improved handling of lost comms with website/DB (CRP v.1.2.9) [UE-38397] - CrashReportProcess should not lose crashes when the website goes down. Change 3209936 on 2016/11/24 by Steven.Hutton Reconciled offline work. Fixed a number of display bugs with the reports page. Change 3209938 on 2016/11/24 by Steven.Hutton Reconciled offline work Adding JQuery UI packages Change 3210736 on 2016/11/28 by Steve.Robb Unset() made protected, which is an implementation details of TFunction and not the way to unbind one (may leak memory). Fixes to existing calls. https://answers.unrealengine.com/questions/494947/proper-way-to-deal-with-destroying-a-tfunction.html Change 3211181 on 2016/11/28 by Steve.Robb Improved error message when binding a delegate to a pending kill object. #jira UE-5232 Change 3211214 on 2016/11/28 by Steve.Robb PR #2978: fixed typo in FMallocLeakDetection (Contributed by finap) #jira UE-39049 Change 3211301 on 2016/11/28 by Steve.Robb PR #2892: Copy bCustomVersionsAreReset when creating an Archive from another Ar. (Contributed by surakin) #jira UE-37941 Change 3213387 on 2016/11/29 by Steven.Hutton Test of a release note parsed from the changelist Change 3213553 on 2016/11/29 by Gil.Gribb UE4 - Rework dependencies and UStruct creation so that we can create UBlueprintGeneratedClass's without needing the parent class serialized. Change 3214800 on 2016/11/30 by Robert.Manuszewski ModuleManager will now use a critical section instead of FMultiReaderSingleWriterGT to make it really thread safe. - removed FMultiReaderSingleWriterGT because it was not fully thread safe Change 3214926 on 2016/11/30 by Robert.Manuszewski Merging using Dev-Core_To_Dev-LoadTimes (reversed) Change 3214981 on 2016/11/30 by Gil.Gribb UE4 - Make sure that subobjects of CDOs are exported even if they don't have any direct references; they might be archetypes. Change 3215392 on 2016/11/30 by Steve.Robb Error out on editor builds when reading a non-boolean value in an archive. Change 3215674 on 2016/11/30 by Steve.Robb Replacement of a custom scope-exit setup with our standard macro. Change 3215720 on 2016/11/30 by Steve.Robb Default constructor for TTuple which value-initializes the elements. Change 3216777 on 2016/12/01 by Graeme.Thornton Add NoRedist and NotForLicensees folders in the game folder to the C# version of config file hierarchy. Change 3216858 on 2016/12/01 by Graeme.Thornton Improvements to pak signing and encryption - Remove compile time defines for encryption key and signing keys - Embed keys in executable by including in the UBT generated UELinkerFixups.cpp file - Add key access core delegate for passing these keys through to pak platform file Change 3216860 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in ShooterGame Change 3216861 on 2016/12/01 by Graeme.Thornton Re-enable pak signing and encryption in Paragon Change 3217076 on 2016/12/01 by Gil.Gribb UE4 - replaced !GIsIntialLoad with EVENT_DRIVEN_ASYNC_LOAD_ACTIVE_AT_RUNTIME as a first step toward boot time EDL Change 3221139 on 2016/12/05 by Ben.Woodhouse Dummy integrate of CL 3221131 (versioning workarounds) from Dev-LoadTimes4.14 with accept target to prevent those workarounds being merged out of dev-loadtimes4.14. Command: p4 integrate //UE4/Dev-LoadTimes4.14/...@3221131,3221131 w/ resolve/accept-target Change 3221410 on 2016/12/05 by Steve.Robb Allow Algo::IsSorted to work on C arrays and initializer_lists. Change 3221673 on 2016/12/05 by Gil.Gribb set up an intentional merge conflict so we can do the right thing when dev-BP and dev-core come together Change 3223182 on 2016/12/06 by Chris.Wood Add EngineModeEx to CrashReportCommon [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224646 on 2016/12/07 by Robert.Manuszewski It's no longer necessary to rebuild the cooked exe to enable the event driven loader. EDL and the new async IO are now controlled with ini settings only. Change 3224647 on 2016/12/07 by Robert.Manuszewski Event Driven Loader is now enabled by default. Change 3224669 on 2016/12/07 by Chris.Wood Compressing some crash files output from CRP to S3 (CRP v1.2.11) [UE-37564] - Add compression support for CRP crash files in S3 Add EngineModeEx to support to CRP (CRP v1.2.10) [UE-39258] - Update CrashReporter to include whether Engine crashes are from vanilla build or not Change 3224873 on 2016/12/07 by Robert.Manuszewski A few fixes to the EDL macro refactor. Change 3224933 on 2016/12/07 by Robert.Manuszewski Async Loading settings will now be logged on startup in cooked games Change 3224984 on 2016/12/07 by Robert.Manuszewski Small fix to EDL and new async IO global var init. Change 3225027 on 2016/12/07 by Robert.Manuszewski Re-enabling EDL in ShooterGame since it no longer requires the cooked exe to be re-compiled (and EDL is on by default anyway). Change 3226702 on 2016/12/08 by Steve.Robb UHT can now skip over macro-like identifiers while parsing. Correctly handles FTypefaceEntry::Name parsing, which was broken by the workaround in CL# 3219332. Syntax workaround reverted in FTypefaceEntry. #jira UE-38231 Change 3226756 on 2016/12/08 by Steve.Robb LexicalConversion renamed to Lex after #core discussion. Lex::ToString overloads added for FString itself. Change 3226766 on 2016/12/08 by Steve.Robb FCookStatsManager::ToString replaced with Lex::ToString, as it now supports the required functionality. Change 3226949 on 2016/12/08 by Robert.Manuszewski Fixing static analysis warnings Change 3228566 on 2016/12/09 by Robert.Manuszewski Making UBT not think it needs to use separate temporary target for non source code projects when EDL settings don't match default. Change 3228601 on 2016/12/09 by Steve.Robb Fix for TSparseArray visualization of types smaller than 8 bytes. Change 3228654 on 2016/12/09 by Gil.Gribb UE4 - Fix very old bug with lock free lists, probably not relevant to anything we currently use. Change 3228697 on 2016/12/09 by Graeme.Thornton Rebuilt UnrealPak [CL 3228932 by Robert Manuszewski in Main branch]
2016-12-09 11:36:14 -05:00
return !!LowerLevel;
}
void FPakPlatformFile::InitializeNewAsyncIO()
{
#if USE_PAK_PRECACHE
#if !WITH_EDITOR
if (FPlatformProcess::SupportsMultithreading() && !FParse::Param(FCommandLine::Get(), TEXT("FileOpenLog")))
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
FPakPrecacher::Init(LowerLevel, GetPakSigningKey());
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
}
else
#endif
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3314870) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3284872 on 2017/02/03 by Graeme.Thornton Seperate pak cache granularity from pak signing chunk size Change 3285765 on 2017/02/03 by Graeme.Thornton Fix stats warnings because each slate new loading screen thread has the same stat name, but is assigned to a different thread #jira UE-41478 Change 3286913 on 2017/02/04 by Ben.Marsh IncludeTool: Merging fixes. * Don't remove existing forward declarations unless explicitly instructed to do so. Files are optimized with these declarations in place, so removing them can cause output files to fail to build. It can be a useful separate step though, so expose it as a command-line option instead. * Add a specific option for which files should be output by the tool. Any files which are excluded from this list are treated specially when generating output files, so as to prevent them from causing files to be omitted from other files that include them. Also add an option to force this mode for all headers, for use when testing formatting/include path generation. Change 3287100 on 2017/02/05 by Ben.Marsh UBT: Move platform settings into platform-specific TargetRules objects. Change 3287106 on 2017/02/05 by Ben.Marsh Merge UEBuildPlatformContext into UEBuildPlatform. Now that targets can have platform-specific settings, there is no need to separate a platform class which contains target-specific information. Change 3287398 on 2017/02/06 by Steve.Robb Fix for UHT failing when -WarningsAsErrors and -Verbose are specified together. Change 3287399 on 2017/02/06 by Steve.Robb Log verbosities made more readable in the debugger. Change 3287410 on 2017/02/06 by Steve.Robb Fix for TStructOpsTypeTraits where WithCopy gives a different result between specializing the traits and not providing WithCopy and not specializing the traits at all. #fyi marc.audy Change 3288020 on 2017/02/06 by Ben.Marsh Prevent forward declaration of the ITextData class. We need to include the header for the debugger visualizers to work correctly. Change 3291817 on 2017/02/08 by Steve.Robb New EBlueprintCompileReinstancerFlags used to construct FBlueprintCompileReinstancer, instead of lots of bools. Change 3292090 on 2017/02/08 by Graeme.Thornton Crash fix - don't update font engine services if it was never created #jira UE-33953 Change 3292993 on 2017/02/08 by Ben.Marsh Add an option to disable force-including PCHs for files in the non-unity working set. (bAdaptiveUnityDisablesPCH) Change 3293231 on 2017/02/08 by Ben.Marsh BuildGraph: Allow overriding the changelist that a badge should be displayed for (with the Change="" attribute on the Badge declaration in XML), so the code changelist can be used if necessary. Also link to the failed step if only one has failed. Change 3294213 on 2017/02/09 by Ben.Marsh EC: Allow setting a property on frequent CI jobs that allows us to exclude it from job searches for generating the dashboard. Filtering on the client side is causing dashboard pages to be almost empty. Change 3294753 on 2017/02/09 by Ben.Zeigler #jira UE-41151 Fix UObjectLibrary::RemoveObject to remove from the correct array, and add comment mentioning that the dynamic use of Object Library is semi-deprecated Change 3296070 on 2017/02/09 by Ben.Zeigler Explicitly turn off Copy for a struct that has a linked list internally. I think turning Copy on by default for all non POD Types is pretty risky and is likely to crash for other games. In this case it was being copied for network replication, and it didn't have one defined so the default C++ one copied the linked list and crashed on destruction. Change 3296420 on 2017/02/10 by Graeme.Thornton Remove remaining references to AES_KEY, instead using the encryption key delegates to access the key where needed Refactored encryption and signing key access in unrealpak to make it easier to use Change 3296609 on 2017/02/10 by Ben.Marsh BuildGraph: Fix error running the <Copy> task with an empty "From" argument. * FileSystemReference.IsUnderDirectory() was not correctly handling cases where the directory was a root directory (and has to end in a path separator) * FilePattern.AsDirectoryReference() with an empty token would append a path separator to an empty string, resulting in it referencing the root directory rather than the given base directory. Change 3297440 on 2017/02/10 by Ben.Marsh UBT: Move the FileFilter class into UnrealBuildTool. Change 3297725 on 2017/02/10 by Ben.Zeigler #jira UE-39199 Fix issue with enum value redirects using the wrong short or long name, it now fully supports both. Clean up a lot of confusingly named and broken functions on UEnum: #jira UE-41348 Deprecate FindEnumIndex, GetEnum, GetEnumName, replace with GetIndexByName, GetNameByIndex, and GetNameStringByIndex and clean up warnings #jira UE-38187 Deprecate GetDisplayNameText and GetEnumText, replaced both with GetDisplayNameTextAtIndex which is now callable outside the editor and has a better comment Deprecate FindEnumRedirects and replace with GetIndexByNameString. Fix code to not check the redirects array 5 times per enum lookup Fix GetValueAsString to actually act on a value, not an index. This matches common usage and the function's name While fixing deprecation warnings on internal games, fixed dozens of cases where it was using Index functions when it should have been using Value functions Delete some now redundant enum editor code and pipe everything through UEnum Change 3297979 on 2017/02/10 by Ben.Zeigler Fix issues parsing Enums that are literally the string "None", which is allowed but leads to some odd behavior Change 3298299 on 2017/02/10 by Steve.Robb TTuple improvements: - equality comparable - serializable - in the correct folder 2-tuples are specialized to be syntactically compatible with both TPair and TTuple. TPair is now an alias for a 2-tuple and is no longer bound to TPairInitializer. #fyi robert.manuszewski,ben.marsh Change 3298460 on 2017/02/11 by Ben.Marsh UGS: Set the correct result from running custom tasks. Change 3298462 on 2017/02/11 by Ben.Marsh UBT: Fix some deprecated messages that have the wrong release version, and add a better message for how ModuleRules constructors need to be updated. Change 3299447 on 2017/02/13 by Graeme.Thornton Fix AES and pak signing key embedding for content only projects - Force temp target when any keys are specified by project config Change 3299649 on 2017/02/13 by Steve.Robb PLATFORM_HAS_DEFAULTED_OPERATORS fixed. Other obsolete compiler switches removed. Change 3299787 on 2017/02/13 by Steve.Robb IsAbstract() for testing if a reflected native type contains pure virtual functions. Needed for BP nativization. #fyi robert.manuszewski Change 3300576 on 2017/02/13 by Ben.Marsh EC: Add support for starting builds on any agent type. Mapping from agent types to resource pools is stored in an EC property sheet (/Generated/<Stream>/AgentTypes), allowing EC procedures to map it to a resource pool from a parameter. Change 3300600 on 2017/02/13 by Ben.Marsh EC: Add the -ClearHistory argument to UAT run to export BuildGraph settings, to allow running on incremental workspaces. Change 3300624 on 2017/02/13 by Ben.Marsh Switch incremental builds for all streams to start up on the incremental agent. Change 3302134 on 2017/02/14 by Steve.Robb UnrealCodeAnalyzer removed. #fyi ben.marsh,robert.manuszewski Change 3302639 on 2017/02/14 by Ben.Zeigler Fix crash cooking odin with default command line #jira UE-41952 Delete StealthTeleport map that crashes on load, and update default cook list that gets used if nothing specified Change 3303002 on 2017/02/14 by Ben.Zeigler #jira UE-41061 Fix it so editor only filtering on savepackage is uniformly applied regardless of if it's at package or object level #jira UE-41880 Rewrite editor/client/server only filtering logic in SavePackage to fix various bugs. It now does all of the filtering up front, and won't process any filtered objects for imports or exports Rename NotForEditorGame to NotAlwaysLoadedForEditorGame and improve comments, this flag says that the asset should be loaded EVEN IF it is editor only, it does not affect loading for normal objects Change the non-map cook flags to RF_Public instead of RF_Standalone. Blueprint classes aren't RF_Standalone so were only being cooked before due to an accident of the dependency checker Change it so anything with a Transient outer is marked transient at save time. These objects would not save out properly anyway Fix it so -cooksinglepackage works properly again and excludes localization and startup packages Tested with Fortnite and Odin, Odin works but with lots of warnings with nativization on which I need to investigate Change 3303084 on 2017/02/14 by Ben.Zeigler Attempt to get Nativization and EDL working without warnings Change 3305153 on 2017/02/15 by Ben.Zeigler Fix Fortnite and Orion cook, I don't understand why this passed my local testing Fix the CDO subobject finder to actually return things instead of doing nothing, and fix a shadow variable warning Change 3305959 on 2017/02/16 by Gil.Gribb UE4 - Tweaked out the EDL loader for the switch with benefits to all platforms. Change 3306159 on 2017/02/16 by Ben.Marsh Fix path to target binaries when building non-monolithic in a unique build environment. Change 3306584 on 2017/02/16 by Steve.Robb UEnum internal functions renamed from Index to Value. GetValueAsString_Internal() parameter now takes an int64, as is expected for enum values. #fyi ben.zeigler Change 3307836 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Load very old redirects in cooked builds. Matinee has no way of resaving redirects, so as long as matinee exists we need to keep them around forever, or fix matinee manually Fixes lighting in Infiltrator demo Change 3307929 on 2017/02/16 by Ben.Zeigler #jira UE-42055 Second half of matinee redirector fix Change 3308840 on 2017/02/17 by Matthew.Griffin Reimplementing CL#3305808 from 4.15 Changed QA label build process so that it only allows version with 3 components (we always add the .0 for initial releases) Change 3309115 on 2017/02/17 by Ben.Marsh Windows: Fix the GetModulesDirectory() function always returning the engine binaries directory. It's possible to build non-monolithic targets which output all engine binaries to the game binaries directory - a requirement to being able to set game-specific defines or build settings, because we don't want shared engine binaries to be tainted with them. The module manager needs to be able to operate early on, before many of the game settings have been initialized, so just return the directory containing the Core module instead. Change 3309120 on 2017/02/17 by Ben.Marsh Fix support for creating modular builds which don't use the shared build environment. Change 3309125 on 2017/02/17 by Ben.Marsh Require that -CookDir arguments are specified separately on the command line. '+' is a valid path character (and common in build versions), so we shouldn't treat it as an argument separator. Change 3309128 on 2017/02/17 by Ben.Marsh Fix UnrealPak failures when enumerating all files from a source directory, if that directory happens to contain spaces. Change 3309131 on 2017/02/17 by Ben.Marsh Fix list of discovered assets being cleared by second call to FindFilesRecursive() when building DDC. Disable the -cookdir parameter again. Change 3309140 on 2017/02/17 by Ben.Marsh UAT: Fix exception moving a file from one location to another if the target directory does not exist. Change 3309212 on 2017/02/17 by Ben.Marsh Fixes/improvements for mod editor and code mods: * A separate top-level project is generated for each code mod in the Visual Studio solution. * Plugin descriptors now have a flag to identify themselves as mod as opposed to a regular game plugin, which prevents project plugins from getting their own VS project. New mods created with the mod editor will have this set by default, as do the three existing sample mods. * Cleaning and building code mods will never modify engine binaries. Presence of the Engine/Build/InstalledProjectBuild.txt file is used to indicate running in this environment. This flag also disables options to edit metadata for non-mod plugins in installed builds. * Plugin browser now includes a separate category for mods. * Mod editor now behaves as an "installed" program by default, and will use the user's home folder for storing settings. Change 3309231 on 2017/02/17 by Steve.Robb Fix for Ar << bSomeBool where Ar is a derived class which overrides an operator<<. #jira UE-42052 Change 3309248 on 2017/02/17 by Ben.Marsh Add support for hot-reloading game plugin modules from Visual Studio, as long as their module returns IsGameModule() = true. Change 3309257 on 2017/02/17 by Ben.Marsh Prevent game binaries from being renamed for hot reload when working with installed projects. Change 3309355 on 2017/02/17 by Steven.Hutton Changes to make the website compatible with the new database changes. Change 3309371 on 2017/02/17 by Ben.Marsh Fix exception on shutdown when running asset registry with threads disabled. #jira UE-41951 Change 3309389 on 2017/02/17 by Ben.Zeigler #jira UE-42051 Fix ensure and crash when loading a null asset ID via the LoadAsset BP node Change 3309570 on 2017/02/17 by Gil.Gribb UE4 - Switch load time performace tweaks, plus abstracted the IO tracker and handle manager for other platforms and applied it to the PS4. Change 3310039 on 2017/02/17 by Ben.Marsh BuildGraph: Prevent exception when trying to delete a file that does not exist. Change 3311484 on 2017/02/20 by Chris.Wood CrashReportProcess crash add retry logic improvements (CRP v1.2.16) Change 3311600 on 2017/02/20 by Matthew.Griffin Updated StripSymbols functions so that all platforms can deal with the source and target file being the same Change 3311675 on 2017/02/20 by Steve.Robb FNativeClassHeaderGenerator::CurrentSourceFile stack replaced with C++ stack. Change 3311893 on 2017/02/20 by Ben.Marsh UGS: Add support for notifying users if CIS steps fail for content changes. Badges which test content should be listed in the [Notifications] section of the project-specific INI file, through +ContentBadges= lines. Change 3313966 on 2017/02/21 by Ben.Marsh Fix EC parsing of error messages output by the editor in the form "LogXYZ:Error:". Greedy optional subexpression in regex was matching everything until a space, so terminate a colon too. Change 3314398 on 2017/02/21 by Ben.Zeigler #jira UE-42212 Fix shutdown of AnimGraph module to be safer [CL 3315211 by Ben Marsh in Main branch]
2017-02-21 15:51:42 -05:00
UE_CLOG(FParse::Param(FCommandLine::Get(), TEXT("FileOpenLog")), LogPakFile, Display, TEXT("Disabled pak precacher to get an accurate load order. This should only be used to collect gameopenorder.log, as it is quite slow."));
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
GPakCache_Enable = 0;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
#endif
}
bool FPakPlatformFile::Mount(const TCHAR* InPakFilename, uint32 PakOrder, const TCHAR* InPath /*= NULL*/)
{
bool bSuccess = false;
TSharedPtr<IFileHandle> PakHandle = MakeShareable(LowerLevel->OpenRead(InPakFilename));
if (PakHandle.IsValid())
{
FPakFile* Pak = new FPakFile(LowerLevel, InPakFilename, bSigned);
if (Pak->IsValid())
{
if (InPath != NULL)
{
Pak->SetMountPoint(InPath);
}
FString PakFilename = InPakFilename;
if (PakFilename.EndsWith(TEXT("_P.pak")))
{
// Prioritize based on the chunk version number
// Default to version 1 for single patch system
uint32 ChunkVersionNumber = 1;
FString StrippedPakFilename = PakFilename.LeftChop(6);
int32 VersionEndIndex = PakFilename.Find("_", ESearchCase::CaseSensitive, ESearchDir::FromEnd);
if (VersionEndIndex != INDEX_NONE && VersionEndIndex > 0)
{
int32 VersionStartIndex = PakFilename.Find("_", ESearchCase::CaseSensitive, ESearchDir::FromEnd, VersionEndIndex - 1);
if (VersionStartIndex != INDEX_NONE)
{
VersionStartIndex++;
FString VersionString = PakFilename.Mid(VersionStartIndex, VersionEndIndex - VersionStartIndex);
if (VersionString.IsNumeric())
{
int32 ChunkVersionSigned = FCString::Atoi(*VersionString);
if (ChunkVersionSigned >= 1)
{
// Increment by one so that the first patch file still gets more priority than the base pak file
ChunkVersionNumber = (uint32)ChunkVersionSigned + 1;
}
}
}
}
PakOrder += 100 * ChunkVersionNumber;
}
{
// Add new pak file
FScopeLock ScopedLock(&PakListCritical);
FPakListEntry Entry;
Entry.ReadOrder = PakOrder;
Entry.PakFile = Pak;
PakFiles.Add(Entry);
PakFiles.StableSort();
}
bSuccess = true;
}
else
{
if (Pak->GetInfo().EncryptionKeyGuid.IsValid())
{
UE_LOG(LogPakFile, Log, TEXT("Deferring mount of pak \"%s\" until encryption key '%s' becomes available"), InPakFilename, *Pak->GetInfo().EncryptionKeyGuid.ToString());
check(!GetRegisteredEncryptionKeys().HasKey(Pak->GetInfo().EncryptionKeyGuid));
FPakListDeferredEntry& Entry = PendingEncryptedPakFiles[PendingEncryptedPakFiles.Add(FPakListDeferredEntry())];
Entry.Filename = InPakFilename;
Entry.Path = InPath;
Entry.ReadOrder = PakOrder;
Entry.EncryptionKeyGuid = Pak->GetInfo().EncryptionKeyGuid;
Entry.ChunkID = Pak->ChunkID;
delete Pak;
PakHandle.Reset();
return false;
}
else
{
UE_LOG(LogPakFile, Warning, TEXT("Failed to mount pak \"%s\", pak is invalid."), InPakFilename);
}
}
}
else
{
UE_LOG(LogPakFile, Warning, TEXT("Pak \"%s\" does not exist!"), InPakFilename);
}
return bSuccess;
}
bool FPakPlatformFile::Unmount(const TCHAR* InPakFilename)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
#if USE_PAK_PRECACHE
if (GPakCache_Enable)
{
FPakPrecacher::Get().Unmount(InPakFilename);
}
#endif
{
FScopeLock ScopedLock(&PakListCritical);
for (int32 PakIndex = 0; PakIndex < PakFiles.Num(); PakIndex++)
{
if (PakFiles[PakIndex].PakFile->GetFilename() == InPakFilename)
{
delete PakFiles[PakIndex].PakFile;
PakFiles.RemoveAt(PakIndex);
return true;
}
}
}
return false;
}
IFileHandle* FPakPlatformFile::CreatePakFileHandle(const TCHAR* Filename, FPakFile* PakFile, const FPakEntry* FileEntry)
{
IFileHandle* Result = NULL;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2967470) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2943963 on 2016/04/14 by Daniel.Wright Shader compile errors are unsuppressed Change 2943978 on 2016/04/14 by Gil.Gribb UE4 - First pass at async loading improvements....mostly disabled. Change 2944021 on 2016/04/14 by Martin.Mittring fixed HLSL compiler warning Change 2944031 on 2016/04/14 by Martin.Mittring fixed ensures, wrapped some members behind get accessor functions Change 2944086 on 2016/04/14 by Martin.Mittring cleanup: removed not needed code Change 2944177 on 2016/04/14 by Daniel.Wright Clamp on FarShadowCascadeCount, prevents crashing from huge values Change 2944182 on 2016/04/14 by Martin.Mittring removed not needed code Change 2944250 on 2016/04/14 by Rolando.Caloca DR - vk - Minor fixes Change 2944286 on 2016/04/14 by Daniel.Wright Added bRenderSceneTwoSided to planar reflections, which can be useful to limit leaking Added ShowOnlyActors and HiddenActors to SceneCaptureComponent for easy use without having to call BP functions Added bShowPreviewPlane to planar reflection actors The view state is recreated on planar reflection edit, which resets the Temporal AA history, allowing instant previewing of changes Change 2944288 on 2016/04/14 by Daniel.Wright Fixed refraction with a world space normal Change 2944291 on 2016/04/14 by Daniel.Wright Panner nodes have an optional speed input Change 2944346 on 2016/04/14 by Rolando.Caloca DR - Fix Vulkan shader platform on Android - Added more info on checks() Change 2945007 on 2016/04/15 by Gil.Gribb Merging //UE4/Dev-Main@2944911 to Dev-Rendering (//UE4/Dev-Rendering) Change 2945348 on 2016/04/15 by Daniel.Wright Fixed compile error Change 2945358 on 2016/04/15 by Olaf.Piesche #jira UE-29241 Sequential particle selection code was all sorts of weird. Rewrote and simplified. Change 2945941 on 2016/04/15 by Martin.Mittring added r.DisplayInternals to debug determinism for screen shot comparison Change 2945999 on 2016/04/15 by Martin.Mittring improved r.DisplayInternal output Change 2946023 on 2016/04/15 by Olaf.Piesche Adding missing call to Super::PostEditChangeProperty; UDN 286717 Change 2947155 on 2016/04/18 by Martin.Mittring started minor cleanup of transluceny rendering, use Sort key to support SeparateTransluceny, not fully hooked up #test:PC Change 2947207 on 2016/04/18 by Martin.Mittring fixed engine compiling in shipping/test #code_review:Uriel.Doyan Change 2947212 on 2016/04/18 by Uriel.Doyon Lightmap density viewmode now shows the wanted resolution when the lighting isn't build. #jira UE-29317 Change 2947374 on 2016/04/18 by Uriel.Doyon Fixed support for resolution scale for the PostProcessVisualizeComplexity #jira UE-29473 Change 2947903 on 2016/04/19 by Gil.Gribb Merging //UE4/Dev-Main@2947728 to Dev-Rendering (//UE4/Dev-Rendering) Change 2948019 on 2016/04/19 by Rolando.Caloca DR - Allow vk format as a target format for win Change 2948162 on 2016/04/19 by Simon.Tovey Fix for crash with Collision visualization. Change 2948419 on 2016/04/19 by Martin.Mittring fixed sort priority of translucent rendering (caused by recent checkin) Change 2948433 on 2016/04/19 by Martin.Mittring fixed memory handling of FRendererViewExtension Change 2948631 on 2016/04/19 by Martin.Mittring fixed compile error on Mac Change 2948832 on 2016/04/19 by Martin.Mittring fixed UE-29572 (should result in less CPU cost and it might even fix some rendeirng issues) Change 2949013 on 2016/04/19 by Martin.Mittring refactored Transluceny rendering, SepTrans and non SepTrans is now in the same container, sorted by that critera first and rendered with ranges. This makes it easier to extend it to more transluceny types e.g. after TemporalAA, after Tonemapping this is useful for MeshDecals #test:PC, parallel on and off Change 2949620 on 2016/04/20 by Martin.Mittring fixed compiler warning Change 2949639 on 2016/04/20 by Uriel.Doyon Fixed Material TexCoord Analysis not compiling when sampling textures for shader frequency other than PixelShader Change 2949721 on 2016/04/20 by Chris.Bunner Avoid creating additional inline code fragment casting matching uniform types. #jira UE-29089 Change 2949722 on 2016/04/20 by Chris.Bunner Prevent nullptr crash and added additional logging. #jira UE-28387 Change 2949913 on 2016/04/20 by Martin.Mittring marked ccommand as cheat Change 2950064 on 2016/04/20 by Martin.Mittring added MatineeTime to r.DisplayInternals to track down rendering determinsim issues, added dark background Change 2950065 on 2016/04/20 by Martin.Mittring nicer debug printout Change 2950201 on 2016/04/20 by Martin.Mittring fixed UE-29752 Console commands input with " = " should display an error message Change 2950531 on 2016/04/20 by Martin.Mittring fixed comment Change 2951737 on 2016/04/21 by HaarmPieter.Duiker Adds support forHDR displays using Dolby PQ output Change 2951869 on 2016/04/21 by Martin.Mittring polish r.DisplayInternal Change 2951950 on 2016/04/21 by HaarmPieter.Duiker Reordered variable definition to address build warning Change 2951996 on 2016/04/21 by Martin.Mittring fixed PerformanceCapture code, added AutomationTest "Rendering.RenderOutputValidation", changed directory order to run locally it currently requires "r.ScreenshotDelegate=0" #code_review:Ben.Salem, Michael.Noland Change 2952146 on 2016/04/21 by Olaf.Piesche make sure that ST PDI primitives render through regular translucency if ST is disabled; fixes light shapes in scene/reflection captures Change 2952230 on 2016/04/21 by Martin.Mittring * Fixed automated ScreenshotVerify difference because of not streamed in texture, wait for up to 5sec . * changed some GFrameNumberRenderThread usage to ViewFamily.FrameNumber #code_review:Daniel.Wright Change 2953173 on 2016/04/22 by Olaf.Piesche Adding UI for easilly browsing and switching in a folder full of stats dumps Change 2953213 on 2016/04/22 by Olaf.Piesche Renaming a stat to be more descriptive Change 2953393 on 2016/04/22 by Zabir.Hoque Get DX12 running again: - Port Shader Resource Table change - Line up VS outputs and ps inputs - Fix incorrectly defining a static global in a .h Change 2953453 on 2016/04/22 by Martin.Mittring polished r.DisplayInternal Change 2954618 on 2016/04/25 by Zabir.Hoque 2 Fixes: - GLSL does not understand "unsigned int", converted to "uint" - Refactored problematic prev buffer allocation code to be more inline with proper level of abstraction. Change 2955369 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Fix some memory leaks in the frontend Change 2955403 on 2016/04/25 by Uriel.Doyon Fixed texture streaming build on OpenGL. Probably more likely to work on other platforms like Mac and Linux. Enabled debug view shaders on PCD3D_SM4 and OPENGL_SM4 #jira UE-28840 Change 2955419 on 2016/04/25 by Rolando.Caloca DR - hlslcc - Reenabled support for static global variables being not const Change 2955432 on 2016/04/25 by Zabir.Hoque Fix build break from not undef'ing LOCTEXT_NAMESPACE Change 2955459 on 2016/04/25 by Zabir.Hoque TEMP Fix: On server enqued render thread work is dropped. So on server release Reflection capture resouce immediately instead of trying to defer enque. Change 2956292 on 2016/04/26 by Zabir.Hoque Fix OpenGL shader compile break from CL: 2951737 (Adds support forHDR displays using Dolby PQ output). #CodeReview: Jack.Porter, Allan.Bentham Change 2956662 on 2016/04/26 by Chris.Bunner Temporary fix for new Tonemapper issues. #jira UE-29935 Change 2957614 on 2016/04/27 by Marcus.Wassmer Fix PS4 shader compiler errors. Change 2958468 on 2016/04/27 by Rolando.Caloca DR - Fix hlslcc validation issue - Show error on SCW if shader format not found when running with -directcompile #jira UE-29982 Change 2959105 on 2016/04/28 by Rolando.Caloca DR - Rebuilt hlslcc for Mac Change 2959891 on 2016/04/28 by Daniel.Wright Shader compiler does a recreate render state even during blocking compile - fixes saving a material giving different behavior from applying changes with global distance fields Change 2959895 on 2016/04/28 by Daniel.Wright Work around build machine string matching heuristics that will cause a cook to fail Change 2959902 on 2016/04/28 by Daniel.Wright Added LowerHemisphereSolidColor to sky lights Change 2959930 on 2016/04/28 by Daniel.Wright Added OpacitySourceMode to SubUVAnimation, which is useful with textures created for additive particles Change 2959933 on 2016/04/28 by Daniel.Wright Substring matching for console command suggestions * Only implemented in the editor, game uses UConsole which needs an entirely different implementation * Not sorting starting matches first, although that is desired Change 2959942 on 2016/04/28 by Daniel.Wright Gracefully handle when input string doesn't match search results Change 2960743 on 2016/04/29 by Gil.Gribb UE4 - UAT - Add map name to editortest command line. Change 2960940 on 2016/04/29 by Chris.Bunner Allow custom material nodes to be used with tessellation outputs. #jira UE-29586 Change 2960955 on 2016/04/29 by Gil.Gribb UE4 - Improved the CPU burden of loading in several places. Made substantial progress on the complete loading revamp (currently disabled). Change 2960961 on 2016/04/29 by Chris.Bunner Potential material translator Lerp node pre-computations/optimizations. #jira OR-20138 Change 2961087 on 2016/04/29 by Gil.Gribb Fixed compile error in preflight relating to load time test rig Change 2962565 on 2016/05/02 by Gil.Gribb Merging //UE4/Dev-Main@2962478 to Dev-Rendering (//UE4/Dev-Rendering) Change 2965058 on 2016/05/03 by Chris.Bunner Shader version bump. #lockdown Gil.Gribb #jira UE-30206 Change 2966554 on 2016/05/04 by Chris.Bunner Bumping shader version again, unintentionally polluted DDC previously. #lockdown Gil.Gribb #jira UE-30329 Change 2967183 on 2016/05/05 by Gil.Gribb UE4 - Fixed a bad hash on landscape grass components. Simple, safe. #lockdown nick.penwarden [CL 2967480 by Gil Gribb in Main branch]
2016-05-05 12:13:26 -04:00
bool bNeedsDelete = true;
TFunction<FArchive*()> AcquirePakReader = [PakFile, LowerLevelPlatformFile = LowerLevel]() { return PakFile->GetSharedReader(LowerLevelPlatformFile); };
// Create the handle.
if (FileEntry->CompressionMethodIndex != 0 && PakFile->GetInfo().Version >= FPakInfo::PakFile_Version_CompressionEncryption)
{
if (FileEntry->IsEncrypted())
{
Result = new FPakFileHandle< FPakCompressedReaderPolicy<FPakSimpleEncryption> >(*PakFile, *FileEntry, AcquirePakReader, bNeedsDelete);
}
else
{
Result = new FPakFileHandle< FPakCompressedReaderPolicy<> >(*PakFile, *FileEntry, AcquirePakReader, bNeedsDelete);
}
}
else if (FileEntry->IsEncrypted())
{
Result = new FPakFileHandle< FPakReaderPolicy<FPakSimpleEncryption> >(*PakFile, *FileEntry, AcquirePakReader, bNeedsDelete);
}
else
{
Result = new FPakFileHandle<>(*PakFile, *FileEntry, AcquirePakReader, bNeedsDelete);
}
return Result;
}
int32 FPakPlatformFile::MountAllPakFiles(const TArray<FString>& PakFolders)
{
int32 NumPakFilesMounted = 0;
bool bMountPaks = true;
TArray<FString> PaksToLoad;
#if !UE_BUILD_SHIPPING
// Optionally get a list of pak filenames to load, only these paks will be mounted
FString CmdLinePaksToLoad;
if (FParse::Value(FCommandLine::Get(), TEXT("-paklist="), CmdLinePaksToLoad))
{
CmdLinePaksToLoad.ParseIntoArray(PaksToLoad, TEXT("+"), true);
}
//if we are using a fileserver, then dont' mount paks automatically. We only want to read files from the server.
FString FileHostIP;
const bool bCookOnTheFly = FParse::Value(FCommandLine::Get(), TEXT("filehostip"), FileHostIP);
const bool bPreCookedNetwork = FParse::Param(FCommandLine::Get(), TEXT("precookednetwork"));
if (bPreCookedNetwork)
{
// precooked network builds are dependent on cook on the fly
check(bCookOnTheFly);
}
bMountPaks &= (!bCookOnTheFly || bPreCookedNetwork);
#endif
if (bMountPaks)
{
TArray<FString> FoundPakFiles;
FindAllPakFiles(LowerLevel, PakFolders, FoundPakFiles);
// Sort in descending order.
FoundPakFiles.Sort(TGreater<FString>());
// Mount all found pak files
TArray<FPakListEntry> ExistingPaks;
GetMountedPaks(ExistingPaks);
TSet<FString> ExistingPaksFileName;
// Find the single pak we just mounted
for (auto Pak : ExistingPaks)
{
ExistingPaksFileName.Add(Pak.PakFile->GetFilename());
}
for (int32 PakFileIndex = 0; PakFileIndex < FoundPakFiles.Num(); PakFileIndex++)
{
const FString& PakFilename = FoundPakFiles[PakFileIndex];
UE_LOG(LogPakFile, Display, TEXT("Found Pak file %s attempting to mount."), *PakFilename);
if (PaksToLoad.Num() && !PaksToLoad.Contains(FPaths::GetBaseFilename(PakFilename)))
{
continue;
}
if (ExistingPaksFileName.Contains(PakFilename))
{
UE_LOG(LogPakFile, Display, TEXT("Pak file %s already exists."), *PakFilename);
continue;
}
uint32 PakOrder = GetPakOrderFromPakFilePath(PakFilename);
UE_LOG(LogPakFile, Display, TEXT("Mounting pak file %s."), *PakFilename);
if (Mount(*PakFilename, PakOrder))
{
++NumPakFilesMounted;
}
}
}
return NumPakFilesMounted;
}
int32 FPakPlatformFile::GetPakOrderFromPakFilePath(const FString& PakFilePath)
{
if (PakFilePath.StartsWith(FString::Printf(TEXT("%sPaks/%s-"), *FPaths::ProjectContentDir(), FApp::GetProjectName())))
{
return 4;
}
else if (PakFilePath.StartsWith(FPaths::ProjectContentDir()))
{
return 3;
}
else if (PakFilePath.StartsWith(FPaths::EngineContentDir()))
{
return 2;
}
else if (PakFilePath.StartsWith(FPaths::ProjectSavedDir()))
{
return 1;
}
return 0;
}
bool FPakPlatformFile::HandleMountPakDelegate(const FString& PakFilePath, int32 PakOrder, IPlatformFile::FDirectoryVisitor* Visitor)
{
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("Mounting pak file: %s \n"), *PakFilePath);
if (PakOrder == INDEX_NONE)
{
PakOrder = GetPakOrderFromPakFilePath(PakFilePath);
}
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2826201 on 2016/01/13 by Zabir.Hoque Add more verbose logging to try to understand #OR-11297 #lockdown Andrew.Grant #CodeReview Marcus.Wassmer #RB none #TESTS compiled Win64 debug editor, ran agora_p Change 2826170 on 2016/01/13 by Marcus.Wassmer Flush unloaded resource properly in LoadMap #codereview Gil.Gribb #rb none #test cycling game. memory is freed properly now. #lockdown Andrew.Grant Change 2826135 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General Change 2826131 on 2016/01/12 by Michael.Noland #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General Change 2826128 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main Change 2826116 on 2016/01/12 by Michael.Noland Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation - Disabled async streaming for the duration of the QOS ping measurement to avoid hitches - Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future) - Added logging of the current average frame time when the datacenter ping is finalized - Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4) #jira OR-12453 #rb paul.moore #tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc... #lockdown andrew.grant #codereview josh.markiewicz Change 2825772 on 2016/01/12 by Dmitry.Rekman Linux signal handling improvements. - Switch crash handlers to use "crash malloc" (preallocated memory) on crash. - Remove unnecessary memory allocations from graceful termination handler. #rb none #tests Run the Linux server and crashed it a few times. #codereview David.Vossel, Michael.Trepka Change 2825768 on 2016/01/12 by Josh.Markiewicz #UE4 - added print out of MS/FPS during Qos ping evaluation #rb michael.noland #tests loaded up through login screen to see output Change 2825703 on 2016/01/12 by Brian.Karis Switched on new motion blur. Set temporal AA sharpness to 1. #rb none #TESTS editor Change 2825689 on 2016/01/12 by Lina.Halper Fix for get animation notify crash https://jira.ol.epicgames.net/browse/OR-12248 https://jira.ol.epicgames.net/browse/OR-12348 - Also fixed the crash in preview of persona due to blend sample cache contains previous animation data - Also fixed blend space player to reinitialize cache data - The main issue is marker doesn't clamp the length, causing notifies ensure to trigger. #rb : Laurent.Delayen #tests: 10 Sparrows bot match for long time #code review: Martin.Wilson #lockdown: Andrew.Grant Change 2825680 on 2016/01/12 by Martin.Mittring fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading) #rb:Olaf.Piesche, David.Hill #test: PC, many cases Change 2825579 on 2016/01/12 by Chris.Bunner Force shadow shape bone indices on the required update list. #rb Lina.Halper, Rolando.Caloca #tests Editor #codereview Daniel.Wright #jira OR-12339 Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
bool bReturn = Mount(*PakFilePath, PakOrder);
if (bReturn && Visitor != nullptr)
{
TArray<FPakListEntry> Paks;
GetMountedPaks(Paks);
// Find the single pak we just mounted
for (auto Pak : Paks)
{
if (PakFilePath == Pak.PakFile->GetFilename())
{
// Get a list of all of the files in the pak
for (FPakFile::FFileIterator It(*Pak.PakFile); It; ++It)
{
Visitor->Visit(*It.Filename(), false);
}
return true;
}
}
}
return bReturn;
}
bool FPakPlatformFile::HandleUnmountPakDelegate(const FString& PakFilePath)
{
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("Unmounting pak file: %s \n"), *PakFilePath);
return Unmount(*PakFilePath);
}
void FPakPlatformFile::RegisterEncryptionKey(const FGuid& InGuid, const FAES::FAESKey& InKey)
{
GetRegisteredEncryptionKeys().AddKey(InGuid, InKey);
int32 NumMounted = 0;
TSet<int32> ChunksToNotify;
for (const FPakListDeferredEntry& Entry : PendingEncryptedPakFiles)
{
if (Entry.EncryptionKeyGuid == InGuid)
{
if (Mount(*Entry.Filename, Entry.ReadOrder, Entry.Path.Len() == 0 ? nullptr : *Entry.Path))
{
UE_LOG(LogPakFile, Log, TEXT("Successfully mounted deferred pak file '%s'"), *Entry.Filename);
NumMounted++;
int32 ChunkID = ParseChunkIDFromFilename(Entry.Filename);
if (ChunkID != INDEX_NONE)
{
ChunksToNotify.Add(ChunkID);
}
}
else
{
UE_LOG(LogPakFile, Warning, TEXT("Failed to mount deferred pak file '%s'"), *Entry.Filename);
}
}
}
if (NumMounted > 0)
{
IPlatformChunkInstall * ChunkInstall = FPlatformMisc::GetPlatformChunkInstall();
if (ChunkInstall)
{
for (int32 ChunkID : ChunksToNotify)
{
ChunkInstall->ExternalNotifyChunkAvailable(ChunkID);
}
}
PendingEncryptedPakFiles.RemoveAll([InGuid](const FPakListDeferredEntry& Entry) { return Entry.EncryptionKeyGuid == InGuid; });
}
UE_LOG(LogPakFile, Log, TEXT("Registered encryption key '%s': %d pak files mounted, %d remain pending"), *InGuid.ToString(), NumMounted, PendingEncryptedPakFiles.Num());
}
IFileHandle* FPakPlatformFile::OpenRead(const TCHAR* Filename, bool bAllowWrite)
{
IFileHandle* Result = NULL;
FPakFile* PakFile = NULL;
FPakEntry FileEntry;
if (FindFileInPakFiles(Filename, &PakFile, &FileEntry))
{
Copying //Ocean/Main to //UE4/Dev-Main (Source: //Ocean/Main @ 3755227) #lockdown Nick.Penwarden #rb none ======================== MAJOR FEATURES + CHANGES ======================== Change 3754304 by Chris.Phillips #ue4: Fix for crash that occurred when seeking past the end of an archive (#jira OCN-8990). Change 3748500 by josh.jensen Fixed the round() function hack shader to determine whether the shader needs mediump or highp The shader fails to compile on some Android devices, because the precision keyword follows the round() definitions. Change 3747950 by Brian.Zaugg Exposed the virtual keyboard dismiss action to UMG. Change 3744282 by Brian.Zaugg Fix for failed engine check caused by GSystemResolution getting out of sync with actual device resolution / orientation. Change 3739717 by Brian.Zaugg Fix renderer compile errors in Mac nonunity build that started with Ocean's last integration from Main. Change 3738008 by Chad.Garyet changing lockfile still waiting warning to a regular log message Change 3729582 by Brian.Zaugg Fix for large Metal texture memory leak when opening card packs. (And any other time the size of the static texture heaps is exceeded.) Don't release a dynamic heap until it is completely drained. Change 3722096 by josh.jensen Prevented an unnecessary red<->blue swap in FVulkanDynamicRHI::RHIReadSurfaceData() when reading back a surface in VK_FORMAT_R16G16B16A16_SFLOAT format Change 3718183 by josh.jensen Fixed ES2 issue reading from a render target in float format for BGRA8888 when the glReadPixels() call fails Change 3690830 by Brian.Zaugg Default r.MetalHullParameterSize and r.MetalDomainParameterSize to 0. Saves 20 MB on iOS. Change 3670184 by Chris.Phillips Added ENGINE_API to UTexture2D::GetMipData(). Function was accessible is single executable stand-alone builds, but not in Editor for use when running PIE. Change 3668970 by josh.jensen Provided an implementation of round() under GLES2 when the shader compiler does not provide it Change 3624855 by josh.jensen Fixed issue where FOpenGLDynamicRHI::RHISetRenderTargetsAndClear() would crash when the render target did not have a color binding This reproduced in a number of circumstances, but it was most common with tonemap postprocessing on Android for a particular title. Change 3693739 by Brian.Zaugg Moved the hull and domain shader parameter size change from BaseDeviceProfiles to DefaultDeviceProfiles. Change 3655434 by James.Brinkerhoff Adding a function to set the delay of a particle system dynamically Change 3605036 by Brian.Zaugg Track opened pak files. Console command "DumpOpenedFiles" print the list. [CL 3764500 by James Brinkerhoff in Main branch]
2017-11-17 16:39:23 -05:00
#if PAK_TRACKER
TrackPak(Filename, &FileEntry);
Copying //Ocean/Main to //UE4/Dev-Main (Source: //Ocean/Main @ 3755227) #lockdown Nick.Penwarden #rb none ======================== MAJOR FEATURES + CHANGES ======================== Change 3754304 by Chris.Phillips #ue4: Fix for crash that occurred when seeking past the end of an archive (#jira OCN-8990). Change 3748500 by josh.jensen Fixed the round() function hack shader to determine whether the shader needs mediump or highp The shader fails to compile on some Android devices, because the precision keyword follows the round() definitions. Change 3747950 by Brian.Zaugg Exposed the virtual keyboard dismiss action to UMG. Change 3744282 by Brian.Zaugg Fix for failed engine check caused by GSystemResolution getting out of sync with actual device resolution / orientation. Change 3739717 by Brian.Zaugg Fix renderer compile errors in Mac nonunity build that started with Ocean's last integration from Main. Change 3738008 by Chad.Garyet changing lockfile still waiting warning to a regular log message Change 3729582 by Brian.Zaugg Fix for large Metal texture memory leak when opening card packs. (And any other time the size of the static texture heaps is exceeded.) Don't release a dynamic heap until it is completely drained. Change 3722096 by josh.jensen Prevented an unnecessary red<->blue swap in FVulkanDynamicRHI::RHIReadSurfaceData() when reading back a surface in VK_FORMAT_R16G16B16A16_SFLOAT format Change 3718183 by josh.jensen Fixed ES2 issue reading from a render target in float format for BGRA8888 when the glReadPixels() call fails Change 3690830 by Brian.Zaugg Default r.MetalHullParameterSize and r.MetalDomainParameterSize to 0. Saves 20 MB on iOS. Change 3670184 by Chris.Phillips Added ENGINE_API to UTexture2D::GetMipData(). Function was accessible is single executable stand-alone builds, but not in Editor for use when running PIE. Change 3668970 by josh.jensen Provided an implementation of round() under GLES2 when the shader compiler does not provide it Change 3624855 by josh.jensen Fixed issue where FOpenGLDynamicRHI::RHISetRenderTargetsAndClear() would crash when the render target did not have a color binding This reproduced in a number of circumstances, but it was most common with tonemap postprocessing on Android for a particular title. Change 3693739 by Brian.Zaugg Moved the hull and domain shader parameter size change from BaseDeviceProfiles to DefaultDeviceProfiles. Change 3655434 by James.Brinkerhoff Adding a function to set the delay of a particle system dynamically Change 3605036 by Brian.Zaugg Track opened pak files. Console command "DumpOpenedFiles" print the list. [CL 3764500 by James Brinkerhoff in Main branch]
2017-11-17 16:39:23 -05:00
#endif
Result = CreatePakFileHandle(Filename, PakFile, &FileEntry);
}
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
else
{
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 2949393) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2949393 on 2016/04/20 by Graeme.Thornton Orion non-pak file security. - Removed security bypass code from platform pak file - Added a delegate to pak file code which allows the game to decide whether a file should be allowed or not - Added an orion delegate which whitelists appropriate files #rb robert.manuszewski #tests win64 client + dedicated server. golden path. Change 2949232 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: michael.noland Paragon: Added a distinct menu frame rate limit, currently set to 60 fps and not visible in settings (if the user sets a game frame rate limit of below 60, we also clamp the menu limit to that threshold, so they can go down but not up for menus) #jira OR-18017 #rb marcus.wassmer #tests Ran paragon and switched between gameplay, menus, and replays, observing t.MaxFPS at different points #ROBOMERGE-SOURCE: CL 2949231 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2949032 on 2016/04/19 by Zak.Middleton #orion - Lower default NetUpdateFrequency for minions (10->6). Avoid excessive latency for some knockback/knockup abilities that would have noticeable lag by forcing an update sooner when they are triggered. This should have the following effects: 1. Reduce server CPU cost (we tick minions at the net frequency). 2. Reduce server bandwidth 3. Reduce client CPU cost (we move character capsules and perform overlaps when new positions are received). #rb Bart.Bressler, John.Pollard #codereview Dmitry.Rekman #tests MultiPIE AI lane, Replays Change 2948966 on 2016/04/19 by Lina.Halper Added log (check) of the asset info for Anim Per Track contains invalid format key #rb: Michael.Noland #code review: Martin.Wilson, Laurent.Delayen, Michael.Noland #tests: editor/ cooked and test with AI_Tests with 10 bots. Change 2948876 on 2016/04/19 by Michael.Noland PS4: Validate that the texture pool size is not set to automatic (-1, which will crash later on as an attempt to allocate too much memory) #rb none #codereview marcus.wassmer #tests Ran Paragon on PS4 Change 2948765 on 2016/04/19 by Daniel.Lamb Removed AssetImportData tag from cooked asset registry builds. #rb Andrew.Grant #test Cook orion Change 2948691 on 2016/04/19 by Marcus.Wassmer Fix copytoresolvetarget ensure #rb none #test pc agora Change 2948633 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt [AUTOMERGE] Fix copytoresolve crash and change validation to ensure. #test PC editor / PC golden path #rb none -------- Integrated using branch //Orion/Main_to_//Orion/Release-Next (reversed) of change#2948169 by Marcus.Wassmer on 2016/04/19 10:50:32. #ROBOMERGE-SOURCE: CL 2948632 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948507 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: andrew.grant Merging 2937781 (Pak signing) using //Orion/Dev-General_to_Release #rb none #tests cooked client, checked game runs #ROBOMERGE-SOURCE: CL 2948497 in //Orion/Release-0.24.1/... via CL 2948506 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948431 on 2016/04/19 by Steve.Robb CL#s 2919775 and 2942793 integrated to prevent annotation map performance problems on shutdown and asserts in PIE. #codereview robert.manuszewski,bob.tellez #rb bob.tellez #tests Ran editor Change 2948408 on 2016/04/19 by Leslie.Nivison Adding .tps #rb none #test none Change 2948185 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: chris.bunner Fix for HLOD visibility freeze. #tests Golden Path, Editor #rb rolando.caloca, michael.noland #lockdown andrew.grant #jira OR-19863 #ROBOMERGE-SOURCE: CL 2948182 in //Orion/Release-0.24.1/... via CL 2948183 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2948149 on 2016/04/19 by Simon.Tovey Fixed crash. Collision rendering path was not dealing with mesh batch with 0 triangles where other paths do. #rb none #tests No more crash #codereview Marcus.Wassmer Change 2948129 on 2016/04/19 by Lukasz.Furman fixed gameplay debugger getting stuck with outdated data pack on client, changed names of AI related debug cvars #rb none #tests game, PIE #codereview Mieszko.Zielinski Change 2948027 on 2016/04/19 by david.nikdel #ROBOMERGE-AUTHOR: graeme.thornton Fix for OR-20033 - CRASH: Client will crash with FRCPassPostProcessCircleDOFSetup #rb none #tests checked game runs without crashing #ROBOMERGE-SOURCE: CL 2948017 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2947558 on 2016/04/18 by Matt.Kuhlenschmidt Fix compile error #rb none, #tests none Change 2947509 on 2016/04/18 by Matt.Kuhlenschmidt Added more logging to track down https://jira.ol.epicgames.net/browse/OR-19841 #rb none, #tests none Change 2947412 on 2016/04/18 by Ryan.Gerleve Fix shadowed variable. #rb none #tests none Change 2947377 on 2016/04/18 by Jamie.Dale Gather paths are now sorted by fuzzy-ness, so that more specific includes beat less specific excludes #rb Matt.Kuhlenschmidt #tests Built for Windows. Ran a gather, and confirmed that explicitly included heroes were now gathered, and that generically excluded heroes were absent from the gather. Change 2947351 on 2016/04/18 by Ryan.Gerleve Allow overriding the demo.AsyncLoadWorld setting with a URL option when playing a replay. Store the entire URL in the demo net driver instead of just the map name, so that the options can be accessed later. #tests golden path, replays #rb john.pollard Change 2947103 on 2016/04/18 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 24.1 @ CL 2947071 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2947102 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2947007 on 2016/04/18 by Zak.Middleton #ue4 - Improve linear smoothing in the presence of low net frequency updates. #rb Bart.Bressler #tests MultiPIE AI with lanes Change 2946994 on 2016/04/18 by Mieszko.Zielinski Improvements to NavigationSystem's "abstract navigation data" support #UE4 #rb Lukasz.Furman #test golden path Change 2946760 on 2016/04/18 by Chris.Bunner Fixing up bad merge, recommit of CL 2819472 - ForceLOD now clamps to available LODs on primitive, i.e. use MinLOD rather than not drawing at all. #tests Editor #rb None Change 2946745 on 2016/04/18 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 24.1 @ CL 2946637 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2946656 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2946645 on 2016/04/18 by Richard.Fawcett When promoting a buidl to staged, prevent enumeration of files already in S3 Enumerating files in S3 is a slow process, and it turns out that simply uploading all chunks blindly is more efficient than enumerating existing chunks and selectively uploading only the new ones. #rb Leigh.Swift #tests This technique has already been used in launcher promotions for several months Change 2946622 on 2016/04/18 by Richard.Fawcett By default, when enumerating chunks from a manifest file, skip checking they exist on disk at enumeration time. This will fail anyway further down the line if the files don't exist, but will improve speed of stage promotions by around five minutes. In practice, we have NEVER seen a job fail at this point because of the existence check. #rb Leigh.Swift #tests Ensure that output of ExtractDataFilenamesFromManifest method is identical both with and without bSkipExistsCheck specified. Change 2945812 on 2016/04/15 by Daniel.Lamb Fixed error in diff cooked build commandlet. #rb ben.marsh #test Compile. Change 2945110 on 2016/04/15 by Matt.Kuhlenschmidt Fix crash exporting actors with non-scene components to fbx #rb none, #tests full scene exporting on maps that crashed #codereview alexis.matte Change 2945078 on 2016/04/15 by Simon.Tovey Fix for OR-19778 When some pooled systems are reused, on init they have a non zero lod level but the emitter instances are created at LOD 0 initially. So the component did not think it had to update it's LOD but the emitters were not at the correct LOD. Have forced a LOD set on init when the component LOD is non-zero. #rb none #tests Works in editor and game. #codereview Olaf.Piesche Change 2944664 on 2016/04/14 by Uriel.Doyon Fix to SM4 compilation issue #jira OR-19706 #rb marcus.wassmer #tests tested editor in SM4 and SM5 Change 2944642 on 2016/04/14 by Lukasz.Furman changed waypoint switch conditions in meta nav paths #rb none #tests PIE #codereview Mieszko.Zielinski Change 2944599 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: andrew.grant Added sha1 to UnrealPak list output #rb none #tests listed content of pakfile #ROBOMERGE-SOURCE: CL 2944595 in //Orion/Release-0.24/... via CL 2944597 via CL 2944598 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2944441 on 2016/04/14 by Marcus.Wassmer Duplicate change to output shader compiler errors. #rb none #test run PC and see errors. Change 2944437 on 2016/04/14 by John.Pollard Possible fix for https://jira.ol.epicgames.net/browse/OR-19614 #rb JoshM #codereview Josh.Markiewicz #tests Golden path matchmaking Change 2944430 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: michael.noland Engine: Added support for more/fewer settings in individual categories to the editor scalability control widget #rb david.ratti #tests Tested in the editor #ROBOMERGE-SOURCE: CL 2944428 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2944198 on 2016/04/14 by David.Ratti Paragon - register for slow/stun/root/silence callbacks on any tag count change, not just add/remove. This is so the UI will update if you get another stack of a stackable slow GE. Ability system - unify client stack count change code path with server. Client now properly update owner ASC's tag map and broadcasts all delegates there. #rb dayY #tests pie Change 2944124 on 2016/04/14 by Wes.Hunt Change the TPS redirects for DX modules to point to the proper DX redist TPS which is what packaged games will need. #codereview:leslie.nivison #rb none #tests ran UAT ListThirdPartySoftware <for Orion> Change 2944107 on 2016/04/14 by Wes.Hunt MeshUtilities now depends on new module nvTessLib to better track the third party dependency. #codereview:daniel.wright #rb none #tests build OrionClient/Editor for Win64 Change 2944102 on 2016/04/14 by Wes.Hunt Tweak to UBT -ListBuildFolders to do a distinct in a better place to cut down on duplicate module searches. #tests ran the UBT command #rb none Change 2943851 on 2016/04/14 by Ryan.Gerleve Fix the ForEachNetDriver helper function to get the world context directly off the world instead of going through the game instance. Ensures the correct net drivers will be used when there are multiple worlds but only one game instance. #rb john.pollard #tests golden path, replays, PIE Change 2943847 on 2016/04/14 by Ryan.Gerleve Fixes to support client replay recording & playback in another world: When recording a replay, only swap actor roles if the remote role is ROLE_Authority When loading a replay checkpoint, call NetworkRemapPath to make sure paths have the correct name in the GuidCache #rb john.pollard #tests golden path, replays, PIE Change 2943691 on 2016/04/14 by david.nikdel #ROBOMERGE-AUTHOR: jason.bestimt #ORION_24 - Fix for OR-19609, OR-19610, and OR-19611 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2943687 in //Orion/Release-0.24/... via CL 2943688 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2943508 on 2016/04/14 by Richard.Fawcett Automation: Add support for multipart file uploads to Amazon S3 to increase speed of large file uploads. #jira OPPBUILD-44 #rb Leigh.Swift #tests Uploaded files to S3 using the new routines, downlaoded via AWS management console and ensured downloaded files identical to uploaded ones Change 2943274 on 2016/04/13 by jason.bestimt #ORION_MAIN - Merge 24 @ CL 2943257 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2943271 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: david.nikdel, jason.bestimt Change 2943178 on 2016/04/13 by Olaf.Piesche Bumping size of the particle curve texture to 512x512 #rb martin.mittring #tests PC Editor, Game Change 2943174 on 2016/04/13 by Aaron.McLeran OR-19392 Ensure condition failed: (*RequiresInitialization == 0) on loading into PVP match - Removing ensure since there is a rare edge case where it's possible for a sound looping node may get ResetChildren called twice. - Condition is when a child random node o fa looping node has a blank entry and results in no sound chosen in a given frame (which results in ResetChildren getting called). Later in the frame, if a sound had previously been playing with an active sound, it will have stop called on it, which will call NotifyWaveInstanceFinished and hit the ensure. Simply using the branch to check if the looping node has been initialized will work fine in this and other cases. #codereview Bob.Tellez #rb Bob.Tellez #tests ran orion with this change testing problematic sound cue Change 2943042 on 2016/04/13 by Rob.Cannaday Fix crash in HTTP completion delegates on shutdown Stop ticking HTTP retry manager after FOnlineSubsystemImpl::Shutdown has been called #rb josh.markiewicz #tests shutting down multiple times Change 2942913 on 2016/04/13 by Lukasz.Furman added meta navmesh paths #orion #rb Mieszko.Zielinski #tests PIE Change 2942132 on 2016/04/13 by Wes.Hunt Enable UBT -ListBuildFolders to operate on Mac and iOS platforms without having to fully set up the remote environment. #codereview:leslie.nivison #rb peter.sauerbrei #tests running UBT with and without -listbuildfolders Change 2941651 on 2016/04/12 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 2941645 #RB:none #Tests:none Change 2941539 on 2016/04/12 by Laurent.Delayen FABRIK: Normalize outgoing rotations. Fixes Chains Q ability crashing. #rb none #tests Chains not crashing Change 2941469 on 2016/04/12 by Wes.Hunt Fix UBT -ListBuildFolders to not prep target for deployment. #codereview:leslie.nivison #rb none #tests tested -ListBuildFolders for Android Change 2941434 on 2016/04/12 by Leslie.Nivison Adding/cleaning up .tps files #rb none #test none Change 2941241 on 2016/04/12 by Daniel.Lamb Removed shadername from the shader code to fix deterministic material cooking issue. #jira UE-29320 #codereview Marcus.Wassmer #rb Marcus.Wassmer #test Running editor, cooking orion. Change 2941046 on 2016/04/12 by Laurent.Delayen Added safety net for non state AnimNotifies having a non-zero EndTriggerTimeOffset. Fixes Twinblast double shot for the left primary attack. #rb benn.gallagher #codereview lina.halper, ray.arnett, aaron.eady #tests twinblast's LMB Change 2941032 on 2016/04/12 by Jason.Bestimt #ORION_24 - Merge MAIN @ CL 2940950 #RB:none #Tests:none [CL 2952833 by Andrew Grant in Main branch]
2016-04-22 11:21:10 -04:00
if (IsNonPakFilenameAllowed(Filename))
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
{
// Default to wrapped file
Result = LowerLevel->OpenRead(Filename, bAllowWrite);
}
}
return Result;
}
EChunkLocation::Type FPakPlatformFile::GetPakChunkLocation(int32 InChunkID) const
{
FScopeLock ScopedLock(&PakListCritical);
for (const FPakListEntry& PakEntry : PakFiles)
{
if (PakEntry.PakFile->ChunkID == InChunkID)
{
return EChunkLocation::LocalFast;
}
}
for (const FPakListDeferredEntry& PendingPak : PendingEncryptedPakFiles)
{
if (PendingPak.ChunkID == InChunkID)
{
return EChunkLocation::NotAvailable;
}
}
return EChunkLocation::DoesNotExist;
}
bool FPakPlatformFile::AnyChunksAvailable() const
{
FScopeLock ScopedLock(&PakListCritical);
for (const FPakListEntry& PakEntry : PakFiles)
{
if (PakEntry.PakFile->ChunkID != INDEX_NONE)
{
return true;
}
}
for (const FPakListDeferredEntry& PendingPak : PendingEncryptedPakFiles)
{
if (PendingPak.ChunkID != INDEX_NONE)
{
return true;
}
}
return false;
}
bool FPakPlatformFile::BufferedCopyFile(IFileHandle& Dest, IFileHandle& Source, const int64 FileSize, uint8* Buffer, const int64 BufferSize) const
{
int64 RemainingSizeToCopy = FileSize;
// Continue copying chunks using the buffer
while (RemainingSizeToCopy > 0)
{
const int64 SizeToCopy = FMath::Min(BufferSize, RemainingSizeToCopy);
if (Source.Read(Buffer, SizeToCopy) == false)
{
return false;
}
if (Dest.Write(Buffer, SizeToCopy) == false)
{
return false;
}
RemainingSizeToCopy -= SizeToCopy;
}
return true;
}
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3133954) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3077573 on 2016/08/04 by Nick.Darnell Removing some unused code, adding additional needed modules to editor tests. #rb none Change 3077580 on 2016/08/04 by Nick.Darnell Removing the test plugins, going to be recreating them in EngineTest. Change 3082659 on 2016/08/09 by Nick.Darnell Automation - Presets are now stored in json files stored in Config so they can be shared, and human readable. Working on screenshot automation, getting it where it needs to be to permit us to have repeatable tests for comarison. Removing the option to not take full size screenshots, that defeats the purpose of being able to compare them. #rb none Change 3082766 on 2016/08/09 by Jamie.Dale Fixed crashes when dealing with code-points outside the BMP on platforms with UTF-32 FStrings ICU always deals with its offsets as UTF-16 (as it always uses UTF-16 internally with icu::UnicodeString), so there were a couple of places in code (break iteration, and bidi detection) where we needed to adjust those UTF-16 offsets to UTF-32 offsets in the case where FString is UTF-32. #jira UE-33971 #rb James.Hopkin Change 3083067 on 2016/08/09 by Nick.Darnell Automation - Working on screenshot support, system now allows a lot more customization in terms of how large the shot is. #rb none Change 3084475 on 2016/08/10 by Richard.TalbotWatkin Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds. #jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server #codereview Matt.Kuhlenschmidt #rb none Change 3084661 on 2016/08/10 by Matt.Kuhlenschmidt Added grayscale texture importing support #rb none Change 3084774 on 2016/08/10 by Cody.Albert Adding controller support for ComboBox widget #jira UE-33826 #rb nick.darnell Change 3085716 on 2016/08/11 by Nick.Darnell UMG - Taking the Widget Component and Widget Interaction Components out of experimental. Removed old importing support for upgrading ancient versions of widget components. Removing parbola distortion, as users can now do whatever they want in their custom MID they can override the widget with. #rb none Change 3085733 on 2016/08/11 by Nick.Darnell UMG - Documenting the meta parameters allowed on widgets, like we do for regular UObjects. For binding widgets from blueprints you can now do BindWidget (unchanged), and to simplify binding widgets optionally, you can now just do (BindWidgetOptional), rather than the combination of BindWidget + OptionalWidget=true. Made generating the Design time wrapper call a little more efficent, by optimizing it away by force inlining a noop. Also added some additional checking when we forcefully set focus in UMG, to help people catch cases where they set focus, but didn't make the widget focusable. #rb none Change 3085734 on 2016/08/11 by Nick.Darnell Texture - Making GetDefaultMipMapBias a bit more efficent in the common case. #rb none Change 3085736 on 2016/08/11 by Nick.Darnell Static Lighting - Warning the user when they build lighting, but have bForceNoPrecomputedLighting set to true on the world settings. #rb none Change 3085737 on 2016/08/11 by Nick.Darnell Editor - code organization. #rb none Change 3085875 on 2016/08/11 by Nick.Darnell UMG - You can now use 'G' to toggle game mode on the designer so that you can disable and enable the dashed lines around containers. The option in the settings is now used as the default when you startup a designer. #rb none Change 3086209 on 2016/08/11 by Ben.Salem Make our automated test pass reporting more robust and pipe out to JSON in \saved\automation\logs\AutomationReport-{CL}-{Timestamp}.json format. #rb adric.worley, william.ewen Change 3086515 on 2016/08/11 by Nick.Darnell Editor - Fixing a crash in the curve table customization. If the row doesn't exist, it would crash, we now protect against that case. #rb Matt.Kuhlenschmidt Change 3087216 on 2016/08/12 by Jamie.Dale Fixed an issue where re-scanning a package file may leave old assets in the asset registry We didn't used to clear out anything associated with the old package before scanning the file, which could result in old assets being left if they'd since been removed from the package. This also exposes a PackageDeleted function to allow people to manually clear anything associated with a package (if doing some custom asset work). #rb Andrew.Rodham Change 3087219 on 2016/08/12 by Jamie.Dale Updated TextRenderComponent to support multiple font pages It used to use the correct UV data, but wouldn't set the correct texture page when rendering. It now creates MIDs for all of the texture pages used by the font, and will use these MIDs (which override the font page on the material) when rendering the text (batched on sequential index/vertex buffer data with the same texture page). #rb Matt.Kuhlenschmidt Change 3087308 on 2016/08/12 by Alex.Delesky #jira UE-14727 - Support for editing TSet properties in the editor's Details panel has been added. #rb Matt.Kuhlenschmidt Change 3089140 on 2016/08/15 by Jamie.Dale We now abort a directory watch if we lose access to the directory in question This prevents an infinite loop in the call to MsgWaitForMultipleObjectsEx if a watched directory is deleted. #jira UE-30172 #rb Andrew.Rodham Change 3089148 on 2016/08/15 by Alexis.Matte Allow fbx export of any actor type. #rb none #codereview dmitriy.dyomin Change 3089211 on 2016/08/15 by Jamie.Dale Unified access to the parent window for external dialogs A lot of places used to ad-hoc use the MainFrame window, even when they had access to a widget that may be belong to a different window. This could cause issues where an external dialog could appear behind a modal UE4 window (as it would appear above the MainFrame), and be inaccessible. You can now use IMainFrameModule::GetBestParentWindowHandleForDialogs to get the best window handle to use for an external dialog. This will either be the parent window for the given widget (if known), or failing that, the MainFrame window. #rb Andrew.Rodham Change 3089640 on 2016/08/15 by Jamie.Dale Wrapped UMaterialExpression::MenuCategories in WITH_EDITORONLY_DATA to avoid gathering it for game-only loc #rb none Change 3089661 on 2016/08/15 by Nick.Darnell Editor - There's a new view option "Show C++ Classes" in the content browser. Lets you hide all those C++ folders most folks probably don't care to see. #rb none Change 3089667 on 2016/08/15 by Cody.Albert Updating RoutePointerUpEvent to call OnDrop for touch events when dragging #jira UE-34709 #rb nick.darnell Change 3089694 on 2016/08/15 by Jamie.Dale Applied a fix to the ExcludeClasses setting in the loc gather #rb none Change 3089889 on 2016/08/15 by Nick.Darnell Automation - Continued work on the screenshot portion of the automation system. Going to start using the adapter information in the screenshots taken, otherwise we can't accurately test a plethora of devices sharing the same OS, with different capabilities. #rb none Change 3090256 on 2016/08/16 by Nick.Darnell Automation - working on screenshots. #rb none Change 3090322 on 2016/08/16 by Nick.Darnell Automation - Adding modified screenshot function. #rb none Change 3090335 on 2016/08/16 by Nick.Darnell Automation - The tests were determined to need to be shared afterall, but at least keeping them as plugins. Moved to Engine plugins. #rb none Change 3090881 on 2016/08/16 by Nick.Darnell Automation - Moving the content over and fixing up some code so that the AutoRimport tests work as expected. #rb none Change 3090884 on 2016/08/16 by Nick.Darnell Plugins - There's now support for generating a Content Only plugin from the new plugin wizard. #rb none Change 3090911 on 2016/08/16 by Nick.Darnell Feature Packs - If there's an error loading a manifest, it's now an error, not a warning. #rb none Change 3090913 on 2016/08/16 by Jamie.Dale Optimization and usability improvements of the MemoryProfiler2 tool - Optimized the processing of the Callgraph, Histogram, and Short lived allocations views. - The callgraph view is now using a virtualized tree view mapped to our own internal tree. This allows us to amortize the cost of adding nodes to the TreeView as the user views the nodes in the tree. In my own test, this took callgraph generation from ~45 seconds to ~5 seconds. - The Histogram view was vastly optimized via the use of a HashSet on the callstack filter, and the batch addition of unsorted callstacks that are sorted once at the end. In my own test, this took histogram generation from ~15 minutes to ~2 seconds. - The Short lived allocations view was optimized by avoiding redundant sorting, including maintaining a sorted order while inserting items, and instead doing a final sort at the end. The column selection was also optimized by avoiding copying the entire dataset just to resort it. In my own test, this took short lived allocation generation from ~1 minute to ~3 seconds. - Added a user-configurable list of allocator functions to trim (which now includes FMemory and operator new by default, and produces much cleaner callstacks). #jira UETOOL-948 #jira UETOOL-949 #rb James.Hopkin Change 3090962 on 2016/08/16 by Jamie.Dale Fixed double assignment of filter functions #rb none Change 3090989 on 2016/08/16 by Nick.Darnell Editor - Attempting to fix the build, non-unity issue I suspect. #rb none Change 3091754 on 2016/08/17 by Nick.Darnell FbxAutomationTestBuilder is now a plugin. Users won't see it unless they've enabled the plugin (so primarily internal QA). Reorganized the automation tools and testing menu to be a bit lower in the main menu, and gave them a more test sounding name. Additionally made some modifications to the workspace menu structure to allow generating just a subset of a workplace menu so that I could target where I wanted to insert all of the automation tool menu items, rather than just allowing the general placement of them under developer tools...etc. #rb none #codereview Alexis.Matte Change 3091758 on 2016/08/17 by Nick.Darnell Slate / Editor - Trying to make the editor less focus greedy. Now when there are notification popups and tabs attempt to grab your attention we now do a few activation ownership checks to ensure that it or a parent window actually owns activation. Not doing this has the nasty side effect of things like notifications and message log errors that popup while playing the game (if the game is in new window PIE), causing the game to be hidden, and focus returned to the editor. Ran into this a lot running the automation tests, the new PIE window that's launched to run tests is immediately hidden as soon as the tests log a warning or error or a notification about high res screenshots happens. #rb none #codereview Nick.Atamas,Matt.Kuhlenschmidt Change 3091829 on 2016/08/17 by Nick.Darnell Build - Attempting to repair the build. #rb none Change 3091920 on 2016/08/17 by Nick.Darnell Build - Another attempt at fixing the mac build. #rb none Change 3093380 on 2016/08/18 by Matt.Kuhlenschmidt Ignore group actors when checking for references to other actors when deleting. The check for references is designed for gameplay affecting references which groups are not. Having this show up for groups is annoying #rb none Change 3094474 on 2016/08/19 by Jamie.Dale Fixed PS4 error when building with USE_MALLOC_PROFILER, and optimized symbol name resolution for a build with USE_MALLOC_PROFILER enabled #jira UETOOL-951 #rb James.Hopkin Change 3094581 on 2016/08/19 by Jamie.Dale Added missing allocator filter needed by PS4 profiles #rb none Change 3094681 on 2016/08/19 by Richard.TalbotWatkin Fixed issue where painting override vertex colors on a SpeedTree mesh would cause its wind animation to cease. The OverrideVertexColors vertex factory needed to be registered with the SpeedTree renderer. #jira UE-32762 - Custom VertexPaint on SpeedTrees interferes with wind animation #rb none Change 3095163 on 2016/08/19 by Trung.Le #jira UE-20849: Added tooltips to the inputs of the Material final result node #rb matt.kuhlenschmidt Change 3095285 on 2016/08/19 by Trung.Le #jira UE-20849 In SGraphNodeMaterialResult, renamed ToolTip to ToolTipWidget so we're not hiding class member #rb none Change 3095344 on 2016/08/19 by Alexis.Matte #jira UE-34690 When using the optionnal matrix to change the scene root node, we have to flush the fbx evaluation engine. Add also a new option to allow the user to automatically convert the fbx scene to unreal unit (centimeter). #rb none #codereview matt.kuhlenschmidt Change 3096162 on 2016/08/22 by Alexis.Matte #jira UE-34763 Remove offending no-action combo box entry when the json file is readonly. Also clean up other combo box menu. #rb none #codereview matt.kuhlenschmidt Change 3096261 on 2016/08/22 by Alexis.Matte #jira UE-33121 Make sure re-import all and import all fix all the issue before starting the job. So it get not interrupt during the process. #rb lina.halper #codereview lina.halper Change 3096344 on 2016/08/22 by Jamie.Dale NSString conversion fix for UTF-32 strings containing characters outside of the BMP #jira UE-33971 #rb Peter.Sauerbrei, James.Hopkin Change 3096605 on 2016/08/22 by Alex.Delesky #jira UE-34787 - Dropdown menus in standalone programs will now correctly display tooltips if they have any. #rb Matt.Kuhlenschmidt Change 3096615 on 2016/08/22 by Alex.Delesky #jira UE-33334 - Scrolling up on the mouse wheel when using the orbit camera should no longer move away from the orbit point when the camera moves too close to the orbit origin. #rb Matt.Kuhlenschmidt Change 3096619 on 2016/08/22 by Alex.Delesky #jira UE-34084 - Structs containing an enum with a value that contains a whitespace character will now serialize correctly when copied from the Details Panel. #rb Matt.Kuhlenschmidt Change 3097644 on 2016/08/23 by Matt.Kuhlenschmidt PR #2729: Fix a typo in the comment (Contributed by adcentury) #rb none Change 3097648 on 2016/08/23 by Matt.Kuhlenschmidt PR #2726: Undef unused macros (Contributed by shrimpy56) #rb none Change 3097697 on 2016/08/23 by Matt.Kuhlenschmidt Guard against crash when details panels rebuild when their customizations have been torn down https://jira.ol.epicgames.net/browse/UE-35048 #rb none Change 3097757 on 2016/08/23 by Alex.Delesky #jira UE-14727 - Support for editing TMap properties in the editor's Details panel has been added. This change also removes the Duplicate option from TSet elements, and disallows entry of duplicates elements into a TSet or duplicate keys into a TMap #rb Matt.Kuhlenschmidt Change 3098164 on 2016/08/23 by Alexis.Matte #jira UE-34686 Fbx importer bImportMeshesInBoneHierarchy is used also by the animation. #rb none #codereview matt.kuhlenschmidt Change 3098502 on 2016/08/23 by Alexis.Matte #jira UE-30951 Fbx option dialog, we disable the option to bake pivot if transform vertex position is true #rb none #codereview matt.kuhlenschmidt Change 3099986 on 2016/08/24 by Jamie.Dale Fixing non-editor builds #rb none Change 3101138 on 2016/08/25 by Matt.Kuhlenschmidt Fixed viewport redraw callback not being called when certian property modifications occur in the details panel (reset to default, array size changes, etc) #rb none Change 3101280 on 2016/08/25 by Jamie.Dale Fixed crash when counting memory over internationalization meta-data - The serialization code only used to handle loading or saving, now it handles loading or not loading. - The Type of the meta-data wasn't set by all constructors. For safety it has been removed and replaced with a virtual function that the derived types override. #rb James.Hopkin Change 3101283 on 2016/08/25 by Jamie.Dale MProf2 platform and symbol parsing improvements - Updated ISymbolParser to work with lazy symbol resolution (handled via the UI when looking at full callstacks). - Added a PS4 symbol parser which handles performing full file/line resolution for symbols. - Removed all the V3 file format support and legacy platform handling. - Optimized FStreamInfo.GetNameIndex so it can be used by the lazy symbol fixup. #rb James.Hopkin Change 3101586 on 2016/08/25 by Jamie.Dale Small code cleanup and path normalization #rb James.Hopkin Change 3101837 on 2016/08/25 by Alexis.Matte #jira UE-35101 we now store the sourceanimationname to retrieve the correct animtrack when re-importing animations #rb none #codereview matt.kuhlenschmidt Change 3102537 on 2016/08/26 by Jamie.Dale Fix for potential crash in FICUCamelCaseBreakIterator In platforms with UTF-32 strings, the index returned by FICUTextCharacterIterator may not be in the same range as FString, so we need to call InternalIndexToSourceIndex to ensure that it is. #rb James.Hopkin Change 3102582 on 2016/08/26 by Matt.Kuhlenschmidt Log the freetype version when it starts up (for debugging purposes) #rb none Change 3102657 on 2016/08/26 by Alexis.Matte #jira UE-29177 When re-importing a texture we want to notify materials using this texture so they can recompile the shader. #review-3101585 @uriel.doyon #rb matt.kuhlenschmidt Change 3102704 on 2016/08/26 by Jamie.Dale Added symbol meta-data support to MProf2 You can now define platform specific meta-data using FPlatformStackWalk::GetSymbolMetaData, which is then stored within the generated .mprof file. PS4 uses this meta-data to say where the original .self file can be found, so that MProf2 can usually automatically load the .self file without having to bother the user. #rb James.Hopkin Change 3102878 on 2016/08/26 by Matt.Kuhlenschmidt Added support for outline fonts - An outline size (in slate units), optional material and optional fill color can be specified with each font info. - Outlines do not contribute to measurement directly so the text measuring and shaping methods have been modified to account for outlines - Fixed a bug where font materials do not work properly if part of the font's rendered glyphs were in a different atlas #rb jamie.dale Change 3102879 on 2016/08/26 by Jamie.Dale Bumped the MProf2 version so we can tell which build of the tool can load v6 mprof files #rb none Change 3102960 on 2016/08/26 by Alexis.Matte build fix #rb none Change 3103032 on 2016/08/26 by Jamie.Dale Fixed SEditableText and SMultiLineEditableText not setting the correct foreground color when painting #jira UE-34936 #rb Matt.Kuhlenschmidt Change 3103278 on 2016/08/26 by Jamie.Dale Fixing Clang warnings #rb none Change 3104211 on 2016/08/29 by Ben.Marsh Add build script for automated tests, and create settings file for Dev-Editor which adds an agent pool for running them. #rb none Change 3104290 on 2016/08/29 by Alex.Delesky Adding additional documentation accessible from the editor for TSet and TMap properties, along with a quick clarification on container properties to let the user know what kind of container they're working with. #rb Matt.Kuhlenschmidt Change 3104292 on 2016/08/29 by Alex.Delesky #jira UE-35039 - Command/Control user keybindings will no longer flip-flop when the editor is opened on Mac. #rb Matt.Kuhlenschmidt Change 3104294 on 2016/08/29 by Alex.Delesky #jira UE-34952 - The user will no longer encounter an ensure when setting the value of Period equal to or less than 0 on the circular throbber widget #rb Matt.Kuhlenschmidt Change 3104295 on 2016/08/29 by Matt.Kuhlenschmidt PR #2682: Remove unused bUseDesktopResolutionForFullscreen (Contributed by stfx) #rb none Change 3104296 on 2016/08/29 by Alex.Delesky #jira UE-35160 - The Auto Distance Error for LOD meshes can now be set to any value larger than zero. #rb Matt.Kuhlenschmidt Change 3104348 on 2016/08/29 by Matt.Kuhlenschmidt Added the ability to clear the preview mesh on a material instance. Previously there was no way to null it out. #rb none Change 3104355 on 2016/08/29 by Matt.Kuhlenschmidt Guard against crash with invalid path to the default physical material. Just create a new one if it doesnt exist and warn about it. #rb none #jira UE-31865 Change 3104396 on 2016/08/29 by Ben.Marsh Fix incrorrect agent names for running automated tests Change 3104610 on 2016/08/29 by Alex.Delesky Fix for AutomationTool compile editor from changes introduced today. #rb None Change 3104611 on 2016/08/29 by Michael.Dupuis #jira UETOOL-253 #rb Alexis.Matte Change 3105826 on 2016/08/30 by Gareth.Martin Added console variables to discard grass and/or scalable foliage data on load #jira UE-35086 #rb Benn Change 3106126 on 2016/08/30 by Matt.Kuhlenschmidt Eliminated bad code duplication between retainer widgets and element batcher #rb none #codereview nick.darnell Change 3106449 on 2016/08/30 by Michael.Dupuis #jira UETOOL-229 Added generic command icons used in Edit Menu (including contextual menu) #rb Alexis.Matte Change 3106966 on 2016/08/30 by Jamie.Dale Fixed FApp::IsAuthorizedUser not considering the SessionOwner override #rb Max.Preussner Change 3107687 on 2016/08/31 by Michael.Dupuis Checkout/Make Writable on proper config file #rb Matt Kuhlenschmidt Change 3107736 on 2016/08/31 by Matt.Kuhlenschmidt Fixed mode typos in the lerp instruction #rb none Change 3107830 on 2016/08/31 by Matt.Kuhlenschmidt Logging and guard against UEditorEngine::TeardownPlaySession crash. #rb none https://jira.ol.epicgames.net/browse/UE-35325 Change 3107912 on 2016/08/31 by Alex.Delesky #jira UE-35181 - Normalizing paths when retrieving absolute filenames for source control operations. #rb Matt.Kuhlenschmidt Change 3107986 on 2016/08/31 by Matt.Kuhlenschmidt Removed PropertyTestObject.h out of UnrealEd.h so you dont have to compile the entire editor when changing this one file. #rb none Change 3108027 on 2016/08/31 by Chris.Wood Re-added lost doc comment for analytics event "Engine.AbnormalShutdown". #rb none - just a comment in a cpp file #codereview wes.hunt Change 3108580 on 2016/08/31 by Mike.Fricker Deleted the "Live Editor" plugins from UE4 - These were undocumented, buggy and never finished, and we have no plans to complete them - Both the "LiveEditor" and "LiveEditorListenServer" plugins were deleted, along with related icon files #codereview matt.kuhlenschmidt #rb matt.kuhlenschmidt Change 3108604 on 2016/08/31 by Mike.Fricker Added new "MIDI Device" plugin (disabled by default) - This is a simple MIDI interface that allows you to receive MIDI events from devices connected to your computer - Currently only input is supported. In the future we might allow for output, as well. - In Blueprints, here's how to use it: - Look for "MIDI Device Manager" in the Blueprint RMB menu - Call "Find MIDI Devices" to choose your favorite device. Break the "Found MIDI Device" struct to see what's available. - Then call "Create MIDI Device Controller" for the device you want. Store that in a variable. - On your MIDI Device Controller, bind your own Event to the "On MIDI Event" event. This will be called every game Tick when there is at least one new MIDI event to receive. - Process the data passed into the Event to make your project do stuff! - This plugin makes use of the "PortMidi" third party library (which already existed in UE4 -- it was used by the now-deprecated 'LiveEditor' plugin) #codereview matt.kuhlenschmidt #rb none Change 3108760 on 2016/08/31 by Alexis.Matte #jira UE-25840 Fbx export collision mesh, we now export collision: box, sphere, capsule and convex mesh. There is an option in the editor preference to enable the export of collisions, default value is false. #rb none #codereview matt.kuhlenschmidt Change 3109006 on 2016/08/31 by Alex.Delesky #ignore Source Control rename test - initial commit Change 3109044 on 2016/08/31 by Alex.Delesky #ignore Testing asset rename from P4 to observe correct behavior. #rb none Change 3109048 on 2016/08/31 by Alex.Delesky #ignore Testing P4 rename to identify correct behavior #rb none Change 3110044 on 2016/09/01 by Gareth.Martin Fixed painting foliage on blocking "query" actors not working #jira UE-33852 #rb Allan.Bentham Change 3110133 on 2016/09/01 by Alexis.Matte Fix crash in function GetForceRecompileTextureIdsHash #rb none #codereview jamie.dale Change 3111848 on 2016/09/02 by Mike.Fricker MIDI Device plugin: Fixed compilation error on Clang compilers (Mac, Linux) - Fixed bad enum cast #rb none Change 3111995 on 2016/09/02 by Michael.Dupuis #jira UE-35263 Do not try selecting the actor if the actor is in the blueprint Properly Refresh the ToopTip & Hyper Link to take into account blueprint recreation process #rb Alexis Matte Change 3112280 on 2016/09/02 by Michael.Dupuis Call MakeWritable if source control fail #rb Alexis Matte Change 3112335 on 2016/09/02 by Cody.Albert Updating cursor hiding logic to not improperly hide cursor when left clicking in ortho mode #jira UE-35306 #rb none Change 3112478 on 2016/09/02 by Alexis.Matte #jira UE-20059 Use a base material to import fbx material. #rb uriel.doyon #codereview matt.kuhlenschmidt #1468 Github pull request number Change 3113912 on 2016/09/06 by Michael.Dupuis #jira UE-32288 Fixed Console params display #rb Alexis Matte Change 3114026 on 2016/09/06 by Alex.Delesky #jira UE-35123 - The Details panel in a Texture editor or Simple Asset editor window will no longer disappear when the inspected asset is imported again. #rb Matt.Kuhlenschmidt Change 3114032 on 2016/09/06 by Alex.Delesky PR #2733: Improved the project launcher progress page (Contributed by projectgheist) #jira UE-34027 #rb Matt.Kuhlenschmidt Change 3114034 on 2016/09/06 by Alex.Delesky #jira UE-35265 - Copying a comment node from a Material Function and pasting it inside a Material will no longer render the Material unsaveable #rb Matt.Kuhlenschmidt Change 3114071 on 2016/09/06 by Nick.Darnell [AUTOMATED TEST] Automatic checkin, testing functionality. Change 3114109 on 2016/09/06 by Nick.Darnell [AUTOMATED TEST] Automatic checkin, testing functionality. Change 3114562 on 2016/09/06 by Nick.Darnell Adding LevelEditor to the FbxAutomationTestBuilder to fix a compiler issue. #rb none Change 3114701 on 2016/09/06 by Michael.Dupuis #jira UE-31988 add const to all usage of TArray<ItemType>* as it was done in SListView #rb Alexis Matte Change 3114861 on 2016/09/06 by Matt.Kuhlenschmidt Prevent non-thread safe slate code from running on the slate loading thread #rb none Change 3115698 on 2016/09/07 by Nick.Darnell Make sure the commands are available - during functional testing that was found to not always be the case. #rb none Change 3115719 on 2016/09/07 by Nick.Darnell Adding an IsRegistered command to commands. #rb none Change 3115721 on 2016/09/07 by Nick.Darnell Adding a new built VirtualReality feature pack, this new one contains the update manifest that will parse correctly. #rb none Change 3115722 on 2016/09/07 by Nick.Darnell IsBindWidgetProperty now returns false if the property passed in is null. #rb none Change 3115734 on 2016/09/07 by Alexis.Matte #jira UE-30166 Support fbx sdk 2017 #rb none Change 3115737 on 2016/09/07 by Nick.Darnell Adding an image comparer for screenshots. Removing some content from EngineTest. #rb none Change 3115743 on 2016/09/07 by Nick.Darnell Checkpointing a bunch of progress towards a screenshot comparison workflow that allows us to diff screenshots taken on various platforms and hardware. Disabling many tests that are not passing. Updating a few tests to log better errors, and fixed a few tests with easy bugs in them so they would start passing again. All editor tests currently passing! #rb none Change 3115748 on 2016/09/07 by Nick.Darnell Making the RuntimeTests plugin a Developer module, so that it doesn't get included in shipping builds. #rb none Change 3115789 on 2016/09/07 by Jamie.Dale We now favor Traditional Chinese for Hong Kong and Macau #rb James.Hopkin Change 3115799 on 2016/09/07 by Jamie.Dale Removed validity check on source cultures when remapping, as platforms may use invalid cultures that need to be remapped #rb James.Hopkin Change 3115826 on 2016/09/07 by Nick.Darnell Adding missing files. #rb none Change 3115838 on 2016/09/07 by Nick.Darnell Back out revision 6 from //UE4/Dev-Editor/Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h #rb none Change 3116007 on 2016/09/07 by Alexis.Matte build fix #rb none Change 3116057 on 2016/09/07 by Jamie.Dale Fixed widget snapshot messages so they appear in the message debugger #rb none Change 3116112 on 2016/09/07 by Nick.Darnell Removing the FbxAutomationBuilder file that go recreated on a merge from main. #rb none Change 3116365 on 2016/09/07 by Michael.Dupuis #jira UE-20765 Added missing class flag to test (CLASS_CONFIG) and change a bit how the checkout/make writable work. #codereview Matt.Kuhlenschmidt #rb Alexis.Matte Change 3116622 on 2016/09/07 by Alexis.Matte #jira UE-35608 Use the same naming convention when trying to retrieve uv channel by name. #rb matt.kuhlenschmidt Change 3116638 on 2016/09/07 by Jamie.Dale Ensured that manifests and archives don't try and load data that they can't parse #rb none Change 3117397 on 2016/09/08 by Gareth.Martin Added rotate and blend support to the landscape mirror tool #jira UE-34829 #rb Jack.Porter Change 3117459 on 2016/09/08 by Gareth.Martin Fixed crash saving a hidden landscape level with an offset (cloned from 4.13.1) #jira UE-35301 #rb Jack.Porter Change 3117462 on 2016/09/08 by Gareth.Martin Fixed invisible landscape components and crashes when tessellation is enabled (cloned from 4.13.1) #jira UE-35494 #rb Benn.Gallagher Change 3117583 on 2016/09/08 by Nick.Darnell Continued work on automation support for screenshot comparison, stubbing in a commandlet that can be run after automation tests that would perform the diffing. Need to finish rigging it up so that deltas and results can be dumped out somewhere and consumed by a tool to approve shots. #rb none Change 3117595 on 2016/09/08 by Nick.Darnell Updating the build script for AutomatedTests, going to see if this works! #rb none Change 3117808 on 2016/09/08 by Nick.Darnell Adding header includes for async. #rb none Change 3117812 on 2016/09/08 by Matt.Kuhlenschmidt Partially taken from Pr 2381 Fixed Array Properties to handle duplicates properly and fixed Material Parameter Collection duplicate Guid problem. #rb none Change 3117851 on 2016/09/08 by Jamie.Dale Silenced some redundant P4 errors that could be generated when running a stat update on a file Some of the options produced errors when working with newly added files. These errors are now downgraded to infos like they are for the main stat command. #rb Ben.Marsh #codereview Thomas.Sarkanen Change 3117853 on 2016/09/08 by Gareth.Martin Clean up landscape includes and PCH #rb steve.robb Change 3117859 on 2016/09/08 by Alex.Delesky #jira UE-35321 - Minimized windows will no longer act like they are visible when determining what widgets are currently underneath the mouse. #rb Nick.Darnell Change 3117997 on 2016/09/08 by Nick.Darnell Updating the automation tests build script to use Editor-Cmd #rb none Change 3118005 on 2016/09/08 by Matt.Kuhlenschmidt Properly reference graph node on material expressions so they are not GC'd while an expression still uses them #jira UE-35362 #rb none Change 3118043 on 2016/09/08 by Alex.Delesky #jira UE-30649 - Removed unnecessary returns from UWidget API. PR #2377: fix widget bug. (Contributed by dorgonman) #rb none Change 3118045 on 2016/09/08 by Matt.Kuhlenschmidt Guard against crash saving config during level editor shutdown #rb none #jira UE-35605 Change 3118074 on 2016/09/08 by Matt.Kuhlenschmidt PR #2783: Removed #pragme once from CPP files (Contributed by projectgheist) #rb none Change 3118078 on 2016/09/08 by Michael.Dupuis #jira UE-32065 Removed the -windows that was added as a default option and add it simply if fullscreen is not specified #rb Alexis.Matte Change 3118080 on 2016/09/08 by Michael.Dupuis #jira UE-31131 Do not show a contextual menu if the menu is empty #rb Alexis.Matte Change 3118087 on 2016/09/08 by Matt.Kuhlenschmidt Constify this method #rb none Change 3118166 on 2016/09/08 by Nick.Darnell Trying additional command options for the build machine for automation. #rb none Change 3118222 on 2016/09/08 by Matt.Kuhlenschmidt Fix actor delete during mesh paint not working during undo #rb none #jira UE-35684 Change 3118298 on 2016/09/08 by Alexis.Matte #jira UE-35302 Export all LODs for static mesh when there is no force LOD #rb uriel.doyon Change 3118325 on 2016/09/08 by Matt.Kuhlenschmidt Fixed reset to default not appearing for slate brushes #rb none #jira UE-34958 Change 3119321 on 2016/09/09 by Matt.Kuhlenschmidt Guard against crash with an invalid world trying to be opened from the content browser #rb none https://jira.ol.epicgames.net/browse/UE-35712 Change 3119433 on 2016/09/09 by Nick.Darnell Removing a hack added by Paragon that prevents applications from resizing in real time as the user drags the size of the window around. #rb Matt.Kuklenschmidt #jira UE-35789 Change 3119448 on 2016/09/09 by Alex.Delesky When simulating touch events using the mouse, clicking the mouse will no longer let a drag operation continue. This should also allow the finger that started a drag to continue dragging items until it is released from the surface. #rb Nick.Darnell Change 3119522 on 2016/09/09 by Jamie.Dale Fixed FDetailCategoryImpl::ShouldBeExpanded not honoring bShouldBeInitiallyCollapsed when bRestoreExpansionState was true #rb Matt.Kuhlenschmidt Change 3119528 on 2016/09/09 by Jamie.Dale Some UI re-work to the localization dashboard This makes a better use of the available space, and will make it easier to make some other planned changes in the future. #rb James.Hopkin Change 3119861 on 2016/09/09 by Michael.Dupuis #jira UE-9284 Added the Play/Stop button on the thumbnail #rb Alexis.Matte Change 3120027 on 2016/09/09 by Alexis.Matte incorporate some fixes from licensee for LOD group re-import workflow #jira UE-32268 #rb uriel.doyon #codereview matt.kuhlenschmidt Change 3120845 on 2016/09/12 by Gareth.Martin Fixed crash in landscape editor when "Early Z" is enabled (cloned from 4.13.1) #jira UE-35850 #rb Allan.Bentham Change 3120980 on 2016/09/12 by Nick.Darnell Adding a commandlet that is runnable for comparing screenshots. Adding comparing and exporting capability to the screenshot manager. #rb none Change 3120992 on 2016/09/12 by Alex.Delesky #jira UE-35575 - TScriptInterface UProperties now have asset picker support. #rb Matt.Kuhlenschmidt Change 3121074 on 2016/09/12 by Michael.Dupuis #jira UE-30092 Added path length in error message when typing Added display of current filepath lenght for cooking #rb Alexis.Matte Change 3121113 on 2016/09/12 by Nick.Darnell Adding some placeholder examples to show people how to author tests in EngineTest. #rb none Change 3121152 on 2016/09/12 by Gareth.Martin Added TElementType, TIsContiguousContainer traits Added GetData(), GetNum() generic functions #rb Steve.Robb Change 3121702 on 2016/09/12 by Jamie.Dale Optimized a loop over a sorted list to instead use a binary search This speeds up the short-lived allocation view generation. We also now dump the exception information to the Trace log when in a non-debug build. #rb James.Hopkin Change 3121721 on 2016/09/12 by Jamie.Dale We now set the window mode first when resizing the game viewport to ensure that the work area is correct Fullscreen windows can affect the available work area size, which can break centering when moving between fullscreen and windowed mode. #jira UE-32842 #rb Matt.Kuhlenschmidt Change 3122578 on 2016/09/13 by Jamie.Dale Small code clean up Removed a use of the placement new style array addition. #rb none Change 3122634 on 2016/09/13 by Jamie.Dale We now immediately update DefaultConfigCheckOutNeeded when checking out/making writable the config file, rather than wait for the text tick #jira UE-34865 #rb James.Hopkin Change 3122656 on 2016/09/13 by Jamie.Dale Fixed array combo button not focusing its contents, which prevented the menu closing correctly #jira UE-33667 #rb none Change 3122661 on 2016/09/13 by Nick.Darnell Checkpointing additional work on the screenshot compare dialog, moving some Directory path picker widget into a more common area. Moving some "Find the best top level window handle for this widget for dialogs' code out of the main frame module and into Slate Application where it probably belongs. #rb none Change 3122678 on 2016/09/13 by Jamie.Dale Fixing CIS error on Clang CoreUObject needs to be included before USTRUCT can be used. #rb none Change 3122686 on 2016/09/13 by Jamie.Dale Fixing CIS error on Clang CoreUObject needs to be included before UCLASS can be used. #rb none Change 3122728 on 2016/09/13 by Nick.Darnell UMG - Exposing a trace channel for the WIC, defaults to Visibility. Improving how the WIC handles the cursor moving off the widget, it now maintains the last hit location rather than 0,0 which would cause things like dragged Sliders to reset to the left. Ideally - the WIC would know the underlying widget has capture and continue to fake collision against an imaginary plane to simulate a continuous surface. #jira UE-35167 #rb none Change 3122775 on 2016/09/13 by Nick.Darnell Automation - Fixing an error with the ScreenshotTools plugin, needed to add an the include for Engine.h to the PCH. #rb none Change 3122779 on 2016/09/13 by Nick.Darnell Widgetnimation - Exposing more of the class to C++. #rb none Change 3122793 on 2016/09/13 by Nick.Darnell Fixing a crash in UWidgetComponent::UpdateRenderTarget updating a null material instance. #jira UE-35796 #rb none Change 3122834 on 2016/09/13 by Matt.Kuhlenschmidt Fixed crash undoing moves after bsp creation https://jira.ol.epicgames.net/browse/UE-35880 #rb none Change 3122835 on 2016/09/13 by Nick.Darnell Reverting changes to WIdgetAnimation #rb none Change 3122897 on 2016/09/13 by Matt.Kuhlenschmidt Fixed non-editor compile error #rb none Change 3122988 on 2016/09/13 by Alexis.Matte Material workflow refactor #jira UETOOL-774 #rb matt.kuhlenschmidt Change 3123006 on 2016/09/13 by Jamie.Dale Fixed dynamic collections not returning anything #jira UE-35869 #rb James.Hopkin Change 3123145 on 2016/09/13 by Alexis.Matte Fix fbx automation test. The test found a regression cause by CL: 3120027. In the case where we dont have a LODGroup we dont want to add LODs before the build. #jira UE-32268 #rb none #codereview matt.kuhlenschmidt Change 3123148 on 2016/09/13 by Matt.Kuhlenschmidt Fix fortnite compile error #rb alexis.matte Change 3123208 on 2016/09/13 by Jamie.Dale The 'find culprit' dialog now honors the user choice #rb RichTW Change 3123545 on 2016/09/13 by Nick.Darnell Slate - Adjusting the window dialog host finding code to do a better job of searching for slate windows and excluding popups and non-regular windows. #rb none Change 3124494 on 2016/09/14 by Jamie.Dale Added ~ to the list of invalid characters for object/package names #jira UE-12908 #rb Matt.Kuhlenschmidt Change 3124513 on 2016/09/14 by Gareth.Martin Implemented filter to allow painting foliage on other foliage - Altered foliage filters so it will no longer paint on object types which don't have a filter, e.g. skeletal meshes #rb Allan.Bentham #2472 Change 3124523 on 2016/09/14 by Jamie.Dale PR #2724: Fix ScrollBox right mouse/touch grab scrolling functionality (Contributed by aarmbruster) #jira UE-34811 #jira UE-32082 #rb none Change 3124607 on 2016/09/14 by Nick.Darnell UMG - Adding BoundsScale support to the WidgetComponent's CalcBounds function. #jira UE-35667 #rb none Change 3124785 on 2016/09/14 by Gareth.Martin Made some foliage functions editor-only to fix non-editor build #rb none Change 3124795 on 2016/09/14 by Gareth.Martin Saved/loaded the new foliage filter #rb Allan.Bentham #2472 Change 3124915 on 2016/09/14 by Michael.Dupuis #jira UE-19511 Add support for Add to source control on DefaultEditorPerProjectUserSettings file Remove CheckoutNotice when not editing a DefaultXXXX.ini file Edit proper config file either we're modifying settings from a Default file or Local user file #codereview Matt.Kuhlenschmidt Max.Preussner #rb Alexis.Matte Change 3125266 on 2016/09/14 by Jamie.Dale Fixed ULocalizationTarget::DeleteFiles not deleting cultures, and using SCC wrong #rb none Change 3125385 on 2016/09/14 by Matt.Kuhlenschmidt Fix crash when using SaveAs to save over top of an existing level #rb none https://jira.ol.epicgames.net/browse/UE-35919 https://jira.ol.epicgames.net/browse/UE-35921 Change 3125487 on 2016/09/14 by Alexis.Matte Fix cook content, regression induce by the material workflow refactor #rb matt.kuhlenschmidt Change 3126217 on 2016/09/15 by Gareth.Martin Unset bHasPerInstanceHitProxies on landscape grass components, as they don't have individually editable instances #rb Allan.Bentham Change 3126311 on 2016/09/15 by Jamie.Dale Placement mode fixes - The display name is now cached correctly on construction, and the FPlaceableItem instance used with SPlacementAssetEntry is now const. - Ensured that the ID used by FPlaceableItem could never overflow. - Fixed some types being missing from the "All Classes" list. - Fixed the escape key not cancelling the search. #jira UE-35972 #rb James.Hopkin Change 3126325 on 2016/09/15 by Jamie.Dale Made sure that UWorld::GetAssetRegistryTags called its Super function so that properties tagged as AssetRegistrySearchable will be added. #rb Andrew.Rodham Change 3126403 on 2016/09/15 by Gareth.Martin Added Find and Contains functions to TBitArray #rb Steve.Robb Change 3126405 on 2016/09/15 by Gareth.Martin Allowed instances of Hierarchical Instanced Mesh Components to be moved around with the transform widget in the blueprint editor - Just like regular instanced mesh components! Also fixed not being able to move instances of an instanced mesh component when it is the root component Also also fixed Hierarchical Instanced Mesh Components not flushing their async tree build on saving (this was causing log spam from PostLoad when dragging instances around as the blueprint would constantly reinstance the component before the async tree build had finished) #jira UE-29357 #rb Allan.Bentham Change 3126444 on 2016/09/15 by Jamie.Dale Fixed the loc dashboard configs not working with SCC This isn't a great solution, but the whole way the loc dashboard manages its config data is in need of an overhaul. #rb none Change 3126446 on 2016/09/15 by Jamie.Dale Fixed loc dashboard game and engine targets sharing the same expansion settting #rb none Change 3126555 on 2016/09/15 by Chris.Wood Removed WER from Windows crash handling. Crashes saved to log folder and passed to CRC with explicit path. [UE-34470] - Investigate WER settings and if they can conflict with CRC on Windows #rb Steve.Robb Change 3126586 on 2016/09/15 by Gareth.Martin Fixed missing landscape components when using a LODBias (cloned from 4.13.1) #jira UE-35873 #rb Jack.Porter Change 3126610 on 2016/09/15 by Jamie.Dale Stopped PS4 from always staging all ICU data files #rb Marcus.Wassmer Change 3126779 on 2016/09/15 by Michael.Dupuis #jira UE-32914 Improve the help text to provide usage examples and params #rb Alexis.Matte Change 3126849 on 2016/09/15 by Matt.Kuhlenschmidt Fix font material and outline font material not being animatable in sequencer #rb frank.fella Change 3126858 on 2016/09/15 by Matt.Kuhlenschmidt File not saved #rb none Change 3127001 on 2016/09/15 by Matt.Kuhlenschmidt Fixed reset to default state still not appearing in all cases after changing a property. #rb none Change 3127038 on 2016/09/15 by Nick.Darnell UMG - Improving focus setting for users on widgets. If we're unable to set the focus immediately, possibly because the user is setting focus in the Construct callback before the widget is in the tree, we now update the SlateOperations FReply on LocalPlayer to set focus next frame when it's more likely the widget will become focusable. #rb none Change 3127061 on 2016/09/15 by Nick.Darnell Slate - We now have a reentrancy guard in TPanelChildren to avoid the broad cases where users might attempt to remove children while all children are being removed. Which is an easy case to engineer if you've got widgets spawning children managed by another widget, that all go away at the same time, thus causing the parent to attempt to cleanup children. The end result is a delete while deleting. So now TPanelChildren prevents adds/removes while emptying the list of children. #jira UE-35726 #rb Matt.Kuchlenschmidt Change 3127205 on 2016/09/15 by Alex.Delesky #jira UE-18013 - Users can now add Textures, Materials, or Sprites to a Widget Blueprint directly from the content browser. This also fixes a few issues with adding Widget Blueprints to another Widget BP from the content browser, such as adding a widget to itself or creating a circular dependency. #rb Nick.Darnell Change 3127971 on 2016/09/16 by Matt.Kuhlenschmidt Fix crash in scene outliner if actors become invalid #rb none https://jira.ol.epicgames.net/browse/UE-35932 Change 3128011 on 2016/09/16 by Matt.Kuhlenschmidt Added guards for crashes accessing slate resources for deleted uobjects #rb nick.darnell Change 3128067 on 2016/09/16 by Michael.Dupuis #jira UE-34158 Add an option to auto expand advanced details #rb Alexis.Matte Change 3128073 on 2016/09/16 by Michael.Dupuis #jira UE-1145 Set Save As to Ctrl + Alt + S Set Save All to Ctrl + Shift + S Set Save Current to Ctrl + S #rb Alexis.Matte Change 3128117 on 2016/09/16 by Jamie.Dale Updated the pin-type filter combo to filter on both the localized and source type descriptions #jira UE-36081 #rb none Change 3128177 on 2016/09/16 by Alexis.Matte #jira UE-35946 Remove unnecessary GetReadValue call with bad parameter. The read value call is cache so subsequent call was returning the bad cache value. #rb michael.dupuis #codereview matt.kuhlenschmidt Change 3128387 on 2016/09/16 by Gareth.Martin Fixed location and rotation of arrow widget in the landscape mirror tool when using one of the new "Rotate" modes #jira UE-36093 #rb none Change 3128445 on 2016/09/16 by Matt.Kuhlenschmidt Guard against scene outliner crash. Print out tree when items appear twice. https://jira.ol.epicgames.net/browse/UE-35935 #rb none Change 3128454 on 2016/09/16 by Matt.Kuhlenschmidt Remove category for WindowTitleBarArea. It is very custom for internal use and should not be a top level widget #rb none Change 3128482 on 2016/09/16 by Michael.Dupuis Added new key binding for generic Save, Save As Added new key binding for Save All for the content browser #rb Alexis.Matte (approved by MattK) Change 3128560 on 2016/09/16 by Matt.Kuhlenschmidt Fix build warning #codereview nick.darnell #rb none Change 3128642 on 2016/09/16 by Alexis.Matte #jira UE-36047 We now convert the light color correctly when importing and exporting fbx files. UE4 is sRGB and FBX is linear #rb none #codereview matt.kuhlenschmidt Change 3128733 on 2016/09/16 by Nick.Darnell UMG - Fixing a bad merge, some code was removed causing all BindWidget statements to fail to compile correctly. #jira UE-36105 #rb none Change 3128768 on 2016/09/16 by Matt.Kuhlenschmidt Fix selection outline showing around edges of all internal mesh sections of a component instead of around the entire actor #rb none Change 3128779 on 2016/09/16 by Matt.Kuhlenschmidt Fix offset characters on some small fonts #rb none Change 3130057 on 2016/09/19 by Jamie.Dale Fixing volatility and invalidation issues for text widgets #jira UE-33988 #rb Nick.Darnell Change 3130064 on 2016/09/19 by Jamie.Dale Changed mprof meta-data to allow unicode strings and updated ReadString to deal with them correctly #rb James.Hopkin Change 3130233 on 2016/09/19 by Michael.Dupuis #jira UE-32914 Added missing args that the UI supported #rb Alexis.Matte Change 3130265 on 2016/09/19 by Nick.Darnell Automation - Cleaning up some API items. #rb none Change 3130378 on 2016/09/19 by Matt.Kuhlenschmidt Fix reentrancy saving assets while a prompt for checkout dialog is open #rb none Change 3130398 on 2016/09/19 by Jamie.Dale Fixing UHT error when building #rb none Change 3132101 on 2016/09/20 by Nick.Darnell UMG - Adding a toolbar option in the designer for the 'G' command, similar to 'Game View' in the level editor, it disables all the dashed lines / future editor visuals. #rb none Change 3132110 on 2016/09/20 by Nick.Darnell PR #2792: ShowFlags for WidgetComponents (Contributed by projectgheist) #jira UE-13770 #rb Nick.Darnell Change 3132111 on 2016/09/20 by Nick.Darnell UMG - The retainer now embeds a virtual window into the focus path so that paths are resolved correctly. #rb none Change 3132138 on 2016/09/20 by Michael.Dupuis #jira UE-30945 Added missing PostEditComponentMove after drag is finished #rb Alexis.Matte Change 3132147 on 2016/09/20 by Michael.Dupuis #jira UE-30866 Fixed the filter to work properly #rb Alexis.Matte Change 3132190 on 2016/09/20 by Matt.Kuhlenschmidt Fix static analysis warnings in this file #rb none Change 3132231 on 2016/09/20 by Nick.Darnell Slate - Updating the material blend states to match what is expected of Slate rendering, which differs a lot from the scene renderer with the way it treats alpha. This fixes translucent rendering with the retainer widget, users will need to set their materials to Alpha Composite though for it to behave as expected. #jira UE-33285 #rb none Change 3132255 on 2016/09/20 by Alex.Delesky #jira UE-36048 - TMap and TSet properties are now disallowed from adding more children through the Details panel when they contain the dfault value for a key or element. Reset to Default is also no longer allowed on a Map or Set child when it will result in a second default value existing within the container. #rb Matt.Kuhlenschmidt Change 3132587 on 2016/09/20 by Mike.Fricker MIDI Plugin: Fixed a CIS error in shipping configuration (introduced in CL 3108604) #rb none #lockdown matt.kuhlenschmidt Change 3132623 on 2016/09/20 by Matt.Kuhlenschmidt Fix crash opening the cooker settings https://jira.it.epicgames.net/browse/UE-36197 #rb none #lockdown nick.darnell Change 3133144 on 2016/09/20 by Nick.Darnell Build configuration for automation tests. #rb none #lockdown matt.kuhlenschmidt Change 3133206 on 2016/09/20 by Matt.Kuhlenschmidt Fix default material on odin text #rb none #lockdown nick.darnell Change 3133913 on 2016/09/21 by Nick.Darnell Back out revision 17 from //UE4/Dev-Editor/Engine/Source/Runtime/UMG/Private/Slate/SRetainerWidget.cpp #rb none #jira UE-36231 #lockdown matt.kuhlenschmidt [CL 3133983 by Matt Kuhlenschmidt in Main branch]
2016-09-21 10:07:18 -04:00
bool FPakPlatformFile::CopyFile(const TCHAR* To, const TCHAR* From, EPlatformFileRead ReadFlags, EPlatformFileWrite WriteFlags)
{
bool Result = false;
FPakEntry FileEntry;
FPakFile* PakFile = NULL;
if (FindFileInPakFiles(From, &PakFile, &FileEntry))
{
// Copy from pak to LowerLevel->
// Create handles both files.
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
TUniquePtr<IFileHandle> DestHandle(LowerLevel->OpenWrite(To, false, (WriteFlags & EPlatformFileWrite::AllowRead) != EPlatformFileWrite::None));
TUniquePtr<IFileHandle> SourceHandle(CreatePakFileHandle(From, PakFile, &FileEntry));
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3208226) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3173153 on 2016/10/25 by Graeme.Thornton Pak signing changes - Integrated into EDL loader - Changed to not encrypt each CRC in the sig file, rather just store a single encryped signature of the entire sig file. Removes need to decrypt thousands of signatures at startup. Change 3173531 on 2016/10/25 by Steven.Hutton Removing unused j query packages. Change 3174743 on 2016/10/26 by Gil.Gribb UE4 - fixed COTF with EDL Change 3177896 on 2016/10/28 by Steve.Robb TSharedPtr and TSharedRef aliasing constructors. Removal of static_asserts for TSharedPtr<UObject>. Change 3180343 on 2016/10/31 by Steve.Robb Reimplementation of changes from CL#s 3050329 and 3105715 that were lost in merges 3094597 and 3105741. Change 3181382 on 2016/11/01 by Steve.Robb Visual Studio debugger visualizers for delegates. Change 3182738 on 2016/11/02 by Graeme.Thornton Re-enable signed archive reader so non-pakpreacher based reads still get signature checked Change 3183420 on 2016/11/02 by Steve.Robb Fix to TIsZeroConstructType for TScriptDelegate. Change 3184872 on 2016/11/03 by Robert.Manuszewski Fixing memory stomps in SSL certificate initialization (found with mallocstomp) Change 3184873 on 2016/11/03 by Robert.Manuszewski Adding thread safety checks to async loading code Change 3185535 on 2016/11/03 by Ben.Zeigler Fix it so calling CreateDefaultSubobject with bTransient = true sets the object transient flag. This fixes EDL Crashes involving components. Change 3186636 on 2016/11/04 by Graeme.Thornton AES encryption integrated into EDL system Pak signing and AES encryption now configurable by ini files rather than magical text files Change 3186637 on 2016/11/04 by Graeme.Thornton Configured pak signing and encryption in ShooterGame for reference Change 3186639 on 2016/11/04 by Graeme.Thornton Encryption changes for Orion * Move pak signing keys into new INI format * Add AES key and enable INI file encryption Change 3186661 on 2016/11/04 by Graeme.Thornton Change unrealpak command line params to accept AES key as a separete parameter Change 3186670 on 2016/11/04 by Robert.Manuszewski Adding a null check before using a package pointer in Linker code #jira UE-38237 Change 3186775 on 2016/11/04 by Graeme.Thornton Fix UBT defines that come in as quoted strings, losing the quotes when passed to the compiler - PS4 and Mac fixes. Other platforms might need fixing too! Change 3186823 on 2016/11/04 by Graeme.Thornton Fixed an incorrect size check in the EDL pak signing code Change 3186925 on 2016/11/04 by Graeme.Thornton Allow UnrealPak to read encryption settings from project ini files Change 3189885 on 2016/11/08 by Graeme.Thornton Static analysis warning fix Change 3190015 on 2016/11/08 by Robert.Manuszewski Thread safety fix for UBlueprintGeneratedClass::PostLoadDefaultObject while UBlueprintGeneratedClass::SerializeDefaultObject runs on the async loading thread Change 3190253 on 2016/11/08 by Chris.Wood Improved MDD performance for on the CR server. [UE-37566] - Improve MDD performance on CR server Blocked MDD init'ing the crash handling code as it isn't desirable on the server. Removed redundant call to SetSymbolPathsFromModules() from CrashDebugHelper. Change 3192993 on 2016/11/10 by Robert.Manuszewski Thread Heartbeat will no longer report the same hang multiple times. Change 3193111 on 2016/11/10 by Robert.Manuszewski Minor change in the condition that detects the same hangs - allow the same callstacks from different threads Change 3193168 on 2016/11/10 by Steve.Robb TSparseArray now reserves space in reverse so that new elements get added to the front of the allocation rather than the back, which is better for memory traversal and meets expectations more closely. Change 3193171 on 2016/11/10 by Steve.Robb Easier debugging of FPendingRegistrantInfo map. Change 3193188 on 2016/11/10 by Steve.Robb TAutoPointer deprecated. Change 3193796 on 2016/11/10 by Graeme.Thornton Fix pak creation failure when no pak signing keys are supplied Change 3194524 on 2016/11/11 by Graeme.Thornton Another static analysis warning fix Change 3195119 on 2016/11/11 by Steve.Robb TAutoPtr deprecated. Fixes to use of TAutoPtr with incompatible memory deallocations (TAutoPtr with FMemory::Malloc and new[]). Some large headers moved into .cpp files. Change 3196582 on 2016/11/14 by Gil.Gribb UE4 - Changed a check to a warning related to detaching linekrs twice. Seen in nativized BP version of platformer game. Change 3196878 on 2016/11/14 by Steve.Robb TScopedPointer deprecated. Change 3198061 on 2016/11/15 by Steve.Robb Class array is no longer regenerated when saving UClasses. Change 3198065 on 2016/11/15 by Robert.Manuszewski Making AssembleReferenceTokenStream thread safe for blueprints loaded on the async loading thread. Change 3198199 on 2016/11/15 by Robert.Manuszewski Pak platform file will now only be used if pak files exist regardless of command line paraks like -pak, -singedpak and -signed. Change 3199954 on 2016/11/16 by Graeme.Thornton Removing USING_SIGNED_CONTENT Change 3200221 on 2016/11/16 by Chris.Wood CrashReportProcess code cleanup - removing unused using directives Change 3200232 on 2016/11/16 by Chris.Wood Multiple CrashReportProcess updates and improvements (CRP v1.2.6) UE-36248 - CRP scalability: All bulk storage or shared data to S3 or suitable network drives InvalidCrashReports now saved to S3 instead of local folder Removed option tosync MinidumpDiagnostics from Perforce Moved MinidumpDiagnostics from old Perforce synched location to its own folder in E:\Services (makes more sense with manual publishing) Added improved logging to Slack with option to monitor MDD performance Added hourly log folders to MDD logs Added support for types of crashes we don't want to symbolicate (using it to skip callstack gen for hang detected ensures) Change 3200382 on 2016/11/16 by Robert.Manuszewski Async Loading code will now detach the linker when resetting async package loader to avoid situations when loading the same asset multiple times results in the following load request finding the old linker after the package has been loading but the async package hasn't been deleted yet (async package for the old request in limbo state but linker exists). Change 3200562 on 2016/11/16 by Gil.Gribb UE4 - Fixed rare issue with reloading nativized blueprints with the EDL and a minor simplication. Change 3201093 on 2016/11/16 by Ben.Zeigler #UE 38654 Fix EDL cooking to correctly search components created directly by UBlueprints, as well as the CDO components it already covered. Also explicitly mark subobject templates as editor only. Fix issue where the AssetImportData associated with Blueprint-owned Curves was ending up in the cooked subobject template list. Stopped it from creating those objects, and mark the class editor only. Change 3201736 on 2016/11/17 by Steve.Robb Strtoi64 platform and TCString functions. #fyi robert.manuszewski Change 3201938 on 2016/11/17 by Ben.Woodhouse Dummy integrate of the Square render version workaround (CL 3201913) with _accept target_ to prevent it being integrated to dev-core in future. Commandline: p4 integrate //Tasks/UE4/Dev-LoadTimes/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp@3201913,3201913 //UE4/Dev-Core/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp #fyi robert.manuszewski Change 3203757 on 2016/11/18 by Robert.Manuszewski Removing debug code from async loading code. Change 3203927 on 2016/11/18 by Robert.Manuszewski Fixing comments in the async loading code. Change 3204851 on 2016/11/18 by Steve.Robb Metafunction for testing if a particular operator<< overload exists, e.g. THasInserterOperator<FArchive&, FMyType&>::Value. Change 3204854 on 2016/11/18 by Steve.Robb UEnumProperty. Change 3205027 on 2016/11/18 by Ben.Zeigler Add useful functions to FAssetPtr and TAssetSubclassOf that already existed on TAssetPtr Add Get() to TSubclassOf so it matches our other wrappers Fix TSubclassOf and TAssetSubclassOf to use the more efficient template method of checking class compatibility Comment and template cleanups for AssetPtr, StringAssetReference, LazyPtr, and SubclassOf Change 3206334 on 2016/11/21 by Ben.Zeigler #UE-38773: Fix it so non-component template subobjects of CDOs are not included as creation dependencies for BP classes, also clean up GetPreloadDependencies as it was adding redundant and null entries #UE-38799: Fix it so WidgetTrees don't get picked up as subobjects, and add ensure at cook time to find null outers that would crash at runtime. Make sure the instanced widget trees are transient. Cook finishes but game is still crashing in some cases, so I might adjust this after other testing Change 3206353 on 2016/11/21 by Ben.Zeigler Fix EnumProperty to handle EDL preload dependencies properly Change 3206625 on 2016/11/21 by Ben.Zeigler Fix enum property crash at runtime by copying what array property does and making sure inner property is not transient Change 3206937 on 2016/11/21 by Ben.Zeigler #jira UE-38905 Fix it so enums inside arrays are migrated properly, the enum tag is lost so use the current one Disable other nested enum migrations as they are unlikely to work. Array property tags need to be refactored to be safer Correctly save enum tag for enum properties, it was being set but not serialized Change 3207002 on 2016/11/21 by Ben.Zeigler #jira UE-38799 Fix it so per-widget copy of widget tree and all widgets inside are properly transient, they were being cooked before but never accessed. Fix case where non ClientOnly public objects nested instead ClientOnly objects would cook but fail to load, and add ensure to catch these cases in the future. If the full outer chain isn't available, it can't be loaded anyway, and this finds issues at cook time instead of load time. We should generally outlaw non-transient objects with transient outers, it does not do what people expect. Change 3207032 on 2016/11/21 by Ben.Zeigler #jira UE-38654 Re-Fix EDL cooking with SCS-added components. They used to have the DefaultSubObject flag but no longer do [CL 3208270 by Ben Zeigler in Main branch]
2016-11-22 18:45:44 -05:00
if (DestHandle && SourceHandle)
{
const int64 BufferSize = 64 * 1024; // Copy in 64K chunks.
uint8* Buffer = (uint8*)FMemory::Malloc(BufferSize);
Result = BufferedCopyFile(*DestHandle, *SourceHandle, SourceHandle->Size(), Buffer, BufferSize);
FMemory::Free(Buffer);
}
}
else
{
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3133954) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3077573 on 2016/08/04 by Nick.Darnell Removing some unused code, adding additional needed modules to editor tests. #rb none Change 3077580 on 2016/08/04 by Nick.Darnell Removing the test plugins, going to be recreating them in EngineTest. Change 3082659 on 2016/08/09 by Nick.Darnell Automation - Presets are now stored in json files stored in Config so they can be shared, and human readable. Working on screenshot automation, getting it where it needs to be to permit us to have repeatable tests for comarison. Removing the option to not take full size screenshots, that defeats the purpose of being able to compare them. #rb none Change 3082766 on 2016/08/09 by Jamie.Dale Fixed crashes when dealing with code-points outside the BMP on platforms with UTF-32 FStrings ICU always deals with its offsets as UTF-16 (as it always uses UTF-16 internally with icu::UnicodeString), so there were a couple of places in code (break iteration, and bidi detection) where we needed to adjust those UTF-16 offsets to UTF-32 offsets in the case where FString is UTF-32. #jira UE-33971 #rb James.Hopkin Change 3083067 on 2016/08/09 by Nick.Darnell Automation - Working on screenshot support, system now allows a lot more customization in terms of how large the shot is. #rb none Change 3084475 on 2016/08/10 by Richard.TalbotWatkin Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds. #jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server #codereview Matt.Kuhlenschmidt #rb none Change 3084661 on 2016/08/10 by Matt.Kuhlenschmidt Added grayscale texture importing support #rb none Change 3084774 on 2016/08/10 by Cody.Albert Adding controller support for ComboBox widget #jira UE-33826 #rb nick.darnell Change 3085716 on 2016/08/11 by Nick.Darnell UMG - Taking the Widget Component and Widget Interaction Components out of experimental. Removed old importing support for upgrading ancient versions of widget components. Removing parbola distortion, as users can now do whatever they want in their custom MID they can override the widget with. #rb none Change 3085733 on 2016/08/11 by Nick.Darnell UMG - Documenting the meta parameters allowed on widgets, like we do for regular UObjects. For binding widgets from blueprints you can now do BindWidget (unchanged), and to simplify binding widgets optionally, you can now just do (BindWidgetOptional), rather than the combination of BindWidget + OptionalWidget=true. Made generating the Design time wrapper call a little more efficent, by optimizing it away by force inlining a noop. Also added some additional checking when we forcefully set focus in UMG, to help people catch cases where they set focus, but didn't make the widget focusable. #rb none Change 3085734 on 2016/08/11 by Nick.Darnell Texture - Making GetDefaultMipMapBias a bit more efficent in the common case. #rb none Change 3085736 on 2016/08/11 by Nick.Darnell Static Lighting - Warning the user when they build lighting, but have bForceNoPrecomputedLighting set to true on the world settings. #rb none Change 3085737 on 2016/08/11 by Nick.Darnell Editor - code organization. #rb none Change 3085875 on 2016/08/11 by Nick.Darnell UMG - You can now use 'G' to toggle game mode on the designer so that you can disable and enable the dashed lines around containers. The option in the settings is now used as the default when you startup a designer. #rb none Change 3086209 on 2016/08/11 by Ben.Salem Make our automated test pass reporting more robust and pipe out to JSON in \saved\automation\logs\AutomationReport-{CL}-{Timestamp}.json format. #rb adric.worley, william.ewen Change 3086515 on 2016/08/11 by Nick.Darnell Editor - Fixing a crash in the curve table customization. If the row doesn't exist, it would crash, we now protect against that case. #rb Matt.Kuhlenschmidt Change 3087216 on 2016/08/12 by Jamie.Dale Fixed an issue where re-scanning a package file may leave old assets in the asset registry We didn't used to clear out anything associated with the old package before scanning the file, which could result in old assets being left if they'd since been removed from the package. This also exposes a PackageDeleted function to allow people to manually clear anything associated with a package (if doing some custom asset work). #rb Andrew.Rodham Change 3087219 on 2016/08/12 by Jamie.Dale Updated TextRenderComponent to support multiple font pages It used to use the correct UV data, but wouldn't set the correct texture page when rendering. It now creates MIDs for all of the texture pages used by the font, and will use these MIDs (which override the font page on the material) when rendering the text (batched on sequential index/vertex buffer data with the same texture page). #rb Matt.Kuhlenschmidt Change 3087308 on 2016/08/12 by Alex.Delesky #jira UE-14727 - Support for editing TSet properties in the editor's Details panel has been added. #rb Matt.Kuhlenschmidt Change 3089140 on 2016/08/15 by Jamie.Dale We now abort a directory watch if we lose access to the directory in question This prevents an infinite loop in the call to MsgWaitForMultipleObjectsEx if a watched directory is deleted. #jira UE-30172 #rb Andrew.Rodham Change 3089148 on 2016/08/15 by Alexis.Matte Allow fbx export of any actor type. #rb none #codereview dmitriy.dyomin Change 3089211 on 2016/08/15 by Jamie.Dale Unified access to the parent window for external dialogs A lot of places used to ad-hoc use the MainFrame window, even when they had access to a widget that may be belong to a different window. This could cause issues where an external dialog could appear behind a modal UE4 window (as it would appear above the MainFrame), and be inaccessible. You can now use IMainFrameModule::GetBestParentWindowHandleForDialogs to get the best window handle to use for an external dialog. This will either be the parent window for the given widget (if known), or failing that, the MainFrame window. #rb Andrew.Rodham Change 3089640 on 2016/08/15 by Jamie.Dale Wrapped UMaterialExpression::MenuCategories in WITH_EDITORONLY_DATA to avoid gathering it for game-only loc #rb none Change 3089661 on 2016/08/15 by Nick.Darnell Editor - There's a new view option "Show C++ Classes" in the content browser. Lets you hide all those C++ folders most folks probably don't care to see. #rb none Change 3089667 on 2016/08/15 by Cody.Albert Updating RoutePointerUpEvent to call OnDrop for touch events when dragging #jira UE-34709 #rb nick.darnell Change 3089694 on 2016/08/15 by Jamie.Dale Applied a fix to the ExcludeClasses setting in the loc gather #rb none Change 3089889 on 2016/08/15 by Nick.Darnell Automation - Continued work on the screenshot portion of the automation system. Going to start using the adapter information in the screenshots taken, otherwise we can't accurately test a plethora of devices sharing the same OS, with different capabilities. #rb none Change 3090256 on 2016/08/16 by Nick.Darnell Automation - working on screenshots. #rb none Change 3090322 on 2016/08/16 by Nick.Darnell Automation - Adding modified screenshot function. #rb none Change 3090335 on 2016/08/16 by Nick.Darnell Automation - The tests were determined to need to be shared afterall, but at least keeping them as plugins. Moved to Engine plugins. #rb none Change 3090881 on 2016/08/16 by Nick.Darnell Automation - Moving the content over and fixing up some code so that the AutoRimport tests work as expected. #rb none Change 3090884 on 2016/08/16 by Nick.Darnell Plugins - There's now support for generating a Content Only plugin from the new plugin wizard. #rb none Change 3090911 on 2016/08/16 by Nick.Darnell Feature Packs - If there's an error loading a manifest, it's now an error, not a warning. #rb none Change 3090913 on 2016/08/16 by Jamie.Dale Optimization and usability improvements of the MemoryProfiler2 tool - Optimized the processing of the Callgraph, Histogram, and Short lived allocations views. - The callgraph view is now using a virtualized tree view mapped to our own internal tree. This allows us to amortize the cost of adding nodes to the TreeView as the user views the nodes in the tree. In my own test, this took callgraph generation from ~45 seconds to ~5 seconds. - The Histogram view was vastly optimized via the use of a HashSet on the callstack filter, and the batch addition of unsorted callstacks that are sorted once at the end. In my own test, this took histogram generation from ~15 minutes to ~2 seconds. - The Short lived allocations view was optimized by avoiding redundant sorting, including maintaining a sorted order while inserting items, and instead doing a final sort at the end. The column selection was also optimized by avoiding copying the entire dataset just to resort it. In my own test, this took short lived allocation generation from ~1 minute to ~3 seconds. - Added a user-configurable list of allocator functions to trim (which now includes FMemory and operator new by default, and produces much cleaner callstacks). #jira UETOOL-948 #jira UETOOL-949 #rb James.Hopkin Change 3090962 on 2016/08/16 by Jamie.Dale Fixed double assignment of filter functions #rb none Change 3090989 on 2016/08/16 by Nick.Darnell Editor - Attempting to fix the build, non-unity issue I suspect. #rb none Change 3091754 on 2016/08/17 by Nick.Darnell FbxAutomationTestBuilder is now a plugin. Users won't see it unless they've enabled the plugin (so primarily internal QA). Reorganized the automation tools and testing menu to be a bit lower in the main menu, and gave them a more test sounding name. Additionally made some modifications to the workspace menu structure to allow generating just a subset of a workplace menu so that I could target where I wanted to insert all of the automation tool menu items, rather than just allowing the general placement of them under developer tools...etc. #rb none #codereview Alexis.Matte Change 3091758 on 2016/08/17 by Nick.Darnell Slate / Editor - Trying to make the editor less focus greedy. Now when there are notification popups and tabs attempt to grab your attention we now do a few activation ownership checks to ensure that it or a parent window actually owns activation. Not doing this has the nasty side effect of things like notifications and message log errors that popup while playing the game (if the game is in new window PIE), causing the game to be hidden, and focus returned to the editor. Ran into this a lot running the automation tests, the new PIE window that's launched to run tests is immediately hidden as soon as the tests log a warning or error or a notification about high res screenshots happens. #rb none #codereview Nick.Atamas,Matt.Kuhlenschmidt Change 3091829 on 2016/08/17 by Nick.Darnell Build - Attempting to repair the build. #rb none Change 3091920 on 2016/08/17 by Nick.Darnell Build - Another attempt at fixing the mac build. #rb none Change 3093380 on 2016/08/18 by Matt.Kuhlenschmidt Ignore group actors when checking for references to other actors when deleting. The check for references is designed for gameplay affecting references which groups are not. Having this show up for groups is annoying #rb none Change 3094474 on 2016/08/19 by Jamie.Dale Fixed PS4 error when building with USE_MALLOC_PROFILER, and optimized symbol name resolution for a build with USE_MALLOC_PROFILER enabled #jira UETOOL-951 #rb James.Hopkin Change 3094581 on 2016/08/19 by Jamie.Dale Added missing allocator filter needed by PS4 profiles #rb none Change 3094681 on 2016/08/19 by Richard.TalbotWatkin Fixed issue where painting override vertex colors on a SpeedTree mesh would cause its wind animation to cease. The OverrideVertexColors vertex factory needed to be registered with the SpeedTree renderer. #jira UE-32762 - Custom VertexPaint on SpeedTrees interferes with wind animation #rb none Change 3095163 on 2016/08/19 by Trung.Le #jira UE-20849: Added tooltips to the inputs of the Material final result node #rb matt.kuhlenschmidt Change 3095285 on 2016/08/19 by Trung.Le #jira UE-20849 In SGraphNodeMaterialResult, renamed ToolTip to ToolTipWidget so we're not hiding class member #rb none Change 3095344 on 2016/08/19 by Alexis.Matte #jira UE-34690 When using the optionnal matrix to change the scene root node, we have to flush the fbx evaluation engine. Add also a new option to allow the user to automatically convert the fbx scene to unreal unit (centimeter). #rb none #codereview matt.kuhlenschmidt Change 3096162 on 2016/08/22 by Alexis.Matte #jira UE-34763 Remove offending no-action combo box entry when the json file is readonly. Also clean up other combo box menu. #rb none #codereview matt.kuhlenschmidt Change 3096261 on 2016/08/22 by Alexis.Matte #jira UE-33121 Make sure re-import all and import all fix all the issue before starting the job. So it get not interrupt during the process. #rb lina.halper #codereview lina.halper Change 3096344 on 2016/08/22 by Jamie.Dale NSString conversion fix for UTF-32 strings containing characters outside of the BMP #jira UE-33971 #rb Peter.Sauerbrei, James.Hopkin Change 3096605 on 2016/08/22 by Alex.Delesky #jira UE-34787 - Dropdown menus in standalone programs will now correctly display tooltips if they have any. #rb Matt.Kuhlenschmidt Change 3096615 on 2016/08/22 by Alex.Delesky #jira UE-33334 - Scrolling up on the mouse wheel when using the orbit camera should no longer move away from the orbit point when the camera moves too close to the orbit origin. #rb Matt.Kuhlenschmidt Change 3096619 on 2016/08/22 by Alex.Delesky #jira UE-34084 - Structs containing an enum with a value that contains a whitespace character will now serialize correctly when copied from the Details Panel. #rb Matt.Kuhlenschmidt Change 3097644 on 2016/08/23 by Matt.Kuhlenschmidt PR #2729: Fix a typo in the comment (Contributed by adcentury) #rb none Change 3097648 on 2016/08/23 by Matt.Kuhlenschmidt PR #2726: Undef unused macros (Contributed by shrimpy56) #rb none Change 3097697 on 2016/08/23 by Matt.Kuhlenschmidt Guard against crash when details panels rebuild when their customizations have been torn down https://jira.ol.epicgames.net/browse/UE-35048 #rb none Change 3097757 on 2016/08/23 by Alex.Delesky #jira UE-14727 - Support for editing TMap properties in the editor's Details panel has been added. This change also removes the Duplicate option from TSet elements, and disallows entry of duplicates elements into a TSet or duplicate keys into a TMap #rb Matt.Kuhlenschmidt Change 3098164 on 2016/08/23 by Alexis.Matte #jira UE-34686 Fbx importer bImportMeshesInBoneHierarchy is used also by the animation. #rb none #codereview matt.kuhlenschmidt Change 3098502 on 2016/08/23 by Alexis.Matte #jira UE-30951 Fbx option dialog, we disable the option to bake pivot if transform vertex position is true #rb none #codereview matt.kuhlenschmidt Change 3099986 on 2016/08/24 by Jamie.Dale Fixing non-editor builds #rb none Change 3101138 on 2016/08/25 by Matt.Kuhlenschmidt Fixed viewport redraw callback not being called when certian property modifications occur in the details panel (reset to default, array size changes, etc) #rb none Change 3101280 on 2016/08/25 by Jamie.Dale Fixed crash when counting memory over internationalization meta-data - The serialization code only used to handle loading or saving, now it handles loading or not loading. - The Type of the meta-data wasn't set by all constructors. For safety it has been removed and replaced with a virtual function that the derived types override. #rb James.Hopkin Change 3101283 on 2016/08/25 by Jamie.Dale MProf2 platform and symbol parsing improvements - Updated ISymbolParser to work with lazy symbol resolution (handled via the UI when looking at full callstacks). - Added a PS4 symbol parser which handles performing full file/line resolution for symbols. - Removed all the V3 file format support and legacy platform handling. - Optimized FStreamInfo.GetNameIndex so it can be used by the lazy symbol fixup. #rb James.Hopkin Change 3101586 on 2016/08/25 by Jamie.Dale Small code cleanup and path normalization #rb James.Hopkin Change 3101837 on 2016/08/25 by Alexis.Matte #jira UE-35101 we now store the sourceanimationname to retrieve the correct animtrack when re-importing animations #rb none #codereview matt.kuhlenschmidt Change 3102537 on 2016/08/26 by Jamie.Dale Fix for potential crash in FICUCamelCaseBreakIterator In platforms with UTF-32 strings, the index returned by FICUTextCharacterIterator may not be in the same range as FString, so we need to call InternalIndexToSourceIndex to ensure that it is. #rb James.Hopkin Change 3102582 on 2016/08/26 by Matt.Kuhlenschmidt Log the freetype version when it starts up (for debugging purposes) #rb none Change 3102657 on 2016/08/26 by Alexis.Matte #jira UE-29177 When re-importing a texture we want to notify materials using this texture so they can recompile the shader. #review-3101585 @uriel.doyon #rb matt.kuhlenschmidt Change 3102704 on 2016/08/26 by Jamie.Dale Added symbol meta-data support to MProf2 You can now define platform specific meta-data using FPlatformStackWalk::GetSymbolMetaData, which is then stored within the generated .mprof file. PS4 uses this meta-data to say where the original .self file can be found, so that MProf2 can usually automatically load the .self file without having to bother the user. #rb James.Hopkin Change 3102878 on 2016/08/26 by Matt.Kuhlenschmidt Added support for outline fonts - An outline size (in slate units), optional material and optional fill color can be specified with each font info. - Outlines do not contribute to measurement directly so the text measuring and shaping methods have been modified to account for outlines - Fixed a bug where font materials do not work properly if part of the font's rendered glyphs were in a different atlas #rb jamie.dale Change 3102879 on 2016/08/26 by Jamie.Dale Bumped the MProf2 version so we can tell which build of the tool can load v6 mprof files #rb none Change 3102960 on 2016/08/26 by Alexis.Matte build fix #rb none Change 3103032 on 2016/08/26 by Jamie.Dale Fixed SEditableText and SMultiLineEditableText not setting the correct foreground color when painting #jira UE-34936 #rb Matt.Kuhlenschmidt Change 3103278 on 2016/08/26 by Jamie.Dale Fixing Clang warnings #rb none Change 3104211 on 2016/08/29 by Ben.Marsh Add build script for automated tests, and create settings file for Dev-Editor which adds an agent pool for running them. #rb none Change 3104290 on 2016/08/29 by Alex.Delesky Adding additional documentation accessible from the editor for TSet and TMap properties, along with a quick clarification on container properties to let the user know what kind of container they're working with. #rb Matt.Kuhlenschmidt Change 3104292 on 2016/08/29 by Alex.Delesky #jira UE-35039 - Command/Control user keybindings will no longer flip-flop when the editor is opened on Mac. #rb Matt.Kuhlenschmidt Change 3104294 on 2016/08/29 by Alex.Delesky #jira UE-34952 - The user will no longer encounter an ensure when setting the value of Period equal to or less than 0 on the circular throbber widget #rb Matt.Kuhlenschmidt Change 3104295 on 2016/08/29 by Matt.Kuhlenschmidt PR #2682: Remove unused bUseDesktopResolutionForFullscreen (Contributed by stfx) #rb none Change 3104296 on 2016/08/29 by Alex.Delesky #jira UE-35160 - The Auto Distance Error for LOD meshes can now be set to any value larger than zero. #rb Matt.Kuhlenschmidt Change 3104348 on 2016/08/29 by Matt.Kuhlenschmidt Added the ability to clear the preview mesh on a material instance. Previously there was no way to null it out. #rb none Change 3104355 on 2016/08/29 by Matt.Kuhlenschmidt Guard against crash with invalid path to the default physical material. Just create a new one if it doesnt exist and warn about it. #rb none #jira UE-31865 Change 3104396 on 2016/08/29 by Ben.Marsh Fix incrorrect agent names for running automated tests Change 3104610 on 2016/08/29 by Alex.Delesky Fix for AutomationTool compile editor from changes introduced today. #rb None Change 3104611 on 2016/08/29 by Michael.Dupuis #jira UETOOL-253 #rb Alexis.Matte Change 3105826 on 2016/08/30 by Gareth.Martin Added console variables to discard grass and/or scalable foliage data on load #jira UE-35086 #rb Benn Change 3106126 on 2016/08/30 by Matt.Kuhlenschmidt Eliminated bad code duplication between retainer widgets and element batcher #rb none #codereview nick.darnell Change 3106449 on 2016/08/30 by Michael.Dupuis #jira UETOOL-229 Added generic command icons used in Edit Menu (including contextual menu) #rb Alexis.Matte Change 3106966 on 2016/08/30 by Jamie.Dale Fixed FApp::IsAuthorizedUser not considering the SessionOwner override #rb Max.Preussner Change 3107687 on 2016/08/31 by Michael.Dupuis Checkout/Make Writable on proper config file #rb Matt Kuhlenschmidt Change 3107736 on 2016/08/31 by Matt.Kuhlenschmidt Fixed mode typos in the lerp instruction #rb none Change 3107830 on 2016/08/31 by Matt.Kuhlenschmidt Logging and guard against UEditorEngine::TeardownPlaySession crash. #rb none https://jira.ol.epicgames.net/browse/UE-35325 Change 3107912 on 2016/08/31 by Alex.Delesky #jira UE-35181 - Normalizing paths when retrieving absolute filenames for source control operations. #rb Matt.Kuhlenschmidt Change 3107986 on 2016/08/31 by Matt.Kuhlenschmidt Removed PropertyTestObject.h out of UnrealEd.h so you dont have to compile the entire editor when changing this one file. #rb none Change 3108027 on 2016/08/31 by Chris.Wood Re-added lost doc comment for analytics event "Engine.AbnormalShutdown". #rb none - just a comment in a cpp file #codereview wes.hunt Change 3108580 on 2016/08/31 by Mike.Fricker Deleted the "Live Editor" plugins from UE4 - These were undocumented, buggy and never finished, and we have no plans to complete them - Both the "LiveEditor" and "LiveEditorListenServer" plugins were deleted, along with related icon files #codereview matt.kuhlenschmidt #rb matt.kuhlenschmidt Change 3108604 on 2016/08/31 by Mike.Fricker Added new "MIDI Device" plugin (disabled by default) - This is a simple MIDI interface that allows you to receive MIDI events from devices connected to your computer - Currently only input is supported. In the future we might allow for output, as well. - In Blueprints, here's how to use it: - Look for "MIDI Device Manager" in the Blueprint RMB menu - Call "Find MIDI Devices" to choose your favorite device. Break the "Found MIDI Device" struct to see what's available. - Then call "Create MIDI Device Controller" for the device you want. Store that in a variable. - On your MIDI Device Controller, bind your own Event to the "On MIDI Event" event. This will be called every game Tick when there is at least one new MIDI event to receive. - Process the data passed into the Event to make your project do stuff! - This plugin makes use of the "PortMidi" third party library (which already existed in UE4 -- it was used by the now-deprecated 'LiveEditor' plugin) #codereview matt.kuhlenschmidt #rb none Change 3108760 on 2016/08/31 by Alexis.Matte #jira UE-25840 Fbx export collision mesh, we now export collision: box, sphere, capsule and convex mesh. There is an option in the editor preference to enable the export of collisions, default value is false. #rb none #codereview matt.kuhlenschmidt Change 3109006 on 2016/08/31 by Alex.Delesky #ignore Source Control rename test - initial commit Change 3109044 on 2016/08/31 by Alex.Delesky #ignore Testing asset rename from P4 to observe correct behavior. #rb none Change 3109048 on 2016/08/31 by Alex.Delesky #ignore Testing P4 rename to identify correct behavior #rb none Change 3110044 on 2016/09/01 by Gareth.Martin Fixed painting foliage on blocking "query" actors not working #jira UE-33852 #rb Allan.Bentham Change 3110133 on 2016/09/01 by Alexis.Matte Fix crash in function GetForceRecompileTextureIdsHash #rb none #codereview jamie.dale Change 3111848 on 2016/09/02 by Mike.Fricker MIDI Device plugin: Fixed compilation error on Clang compilers (Mac, Linux) - Fixed bad enum cast #rb none Change 3111995 on 2016/09/02 by Michael.Dupuis #jira UE-35263 Do not try selecting the actor if the actor is in the blueprint Properly Refresh the ToopTip & Hyper Link to take into account blueprint recreation process #rb Alexis Matte Change 3112280 on 2016/09/02 by Michael.Dupuis Call MakeWritable if source control fail #rb Alexis Matte Change 3112335 on 2016/09/02 by Cody.Albert Updating cursor hiding logic to not improperly hide cursor when left clicking in ortho mode #jira UE-35306 #rb none Change 3112478 on 2016/09/02 by Alexis.Matte #jira UE-20059 Use a base material to import fbx material. #rb uriel.doyon #codereview matt.kuhlenschmidt #1468 Github pull request number Change 3113912 on 2016/09/06 by Michael.Dupuis #jira UE-32288 Fixed Console params display #rb Alexis Matte Change 3114026 on 2016/09/06 by Alex.Delesky #jira UE-35123 - The Details panel in a Texture editor or Simple Asset editor window will no longer disappear when the inspected asset is imported again. #rb Matt.Kuhlenschmidt Change 3114032 on 2016/09/06 by Alex.Delesky PR #2733: Improved the project launcher progress page (Contributed by projectgheist) #jira UE-34027 #rb Matt.Kuhlenschmidt Change 3114034 on 2016/09/06 by Alex.Delesky #jira UE-35265 - Copying a comment node from a Material Function and pasting it inside a Material will no longer render the Material unsaveable #rb Matt.Kuhlenschmidt Change 3114071 on 2016/09/06 by Nick.Darnell [AUTOMATED TEST] Automatic checkin, testing functionality. Change 3114109 on 2016/09/06 by Nick.Darnell [AUTOMATED TEST] Automatic checkin, testing functionality. Change 3114562 on 2016/09/06 by Nick.Darnell Adding LevelEditor to the FbxAutomationTestBuilder to fix a compiler issue. #rb none Change 3114701 on 2016/09/06 by Michael.Dupuis #jira UE-31988 add const to all usage of TArray<ItemType>* as it was done in SListView #rb Alexis Matte Change 3114861 on 2016/09/06 by Matt.Kuhlenschmidt Prevent non-thread safe slate code from running on the slate loading thread #rb none Change 3115698 on 2016/09/07 by Nick.Darnell Make sure the commands are available - during functional testing that was found to not always be the case. #rb none Change 3115719 on 2016/09/07 by Nick.Darnell Adding an IsRegistered command to commands. #rb none Change 3115721 on 2016/09/07 by Nick.Darnell Adding a new built VirtualReality feature pack, this new one contains the update manifest that will parse correctly. #rb none Change 3115722 on 2016/09/07 by Nick.Darnell IsBindWidgetProperty now returns false if the property passed in is null. #rb none Change 3115734 on 2016/09/07 by Alexis.Matte #jira UE-30166 Support fbx sdk 2017 #rb none Change 3115737 on 2016/09/07 by Nick.Darnell Adding an image comparer for screenshots. Removing some content from EngineTest. #rb none Change 3115743 on 2016/09/07 by Nick.Darnell Checkpointing a bunch of progress towards a screenshot comparison workflow that allows us to diff screenshots taken on various platforms and hardware. Disabling many tests that are not passing. Updating a few tests to log better errors, and fixed a few tests with easy bugs in them so they would start passing again. All editor tests currently passing! #rb none Change 3115748 on 2016/09/07 by Nick.Darnell Making the RuntimeTests plugin a Developer module, so that it doesn't get included in shipping builds. #rb none Change 3115789 on 2016/09/07 by Jamie.Dale We now favor Traditional Chinese for Hong Kong and Macau #rb James.Hopkin Change 3115799 on 2016/09/07 by Jamie.Dale Removed validity check on source cultures when remapping, as platforms may use invalid cultures that need to be remapped #rb James.Hopkin Change 3115826 on 2016/09/07 by Nick.Darnell Adding missing files. #rb none Change 3115838 on 2016/09/07 by Nick.Darnell Back out revision 6 from //UE4/Dev-Editor/Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h #rb none Change 3116007 on 2016/09/07 by Alexis.Matte build fix #rb none Change 3116057 on 2016/09/07 by Jamie.Dale Fixed widget snapshot messages so they appear in the message debugger #rb none Change 3116112 on 2016/09/07 by Nick.Darnell Removing the FbxAutomationBuilder file that go recreated on a merge from main. #rb none Change 3116365 on 2016/09/07 by Michael.Dupuis #jira UE-20765 Added missing class flag to test (CLASS_CONFIG) and change a bit how the checkout/make writable work. #codereview Matt.Kuhlenschmidt #rb Alexis.Matte Change 3116622 on 2016/09/07 by Alexis.Matte #jira UE-35608 Use the same naming convention when trying to retrieve uv channel by name. #rb matt.kuhlenschmidt Change 3116638 on 2016/09/07 by Jamie.Dale Ensured that manifests and archives don't try and load data that they can't parse #rb none Change 3117397 on 2016/09/08 by Gareth.Martin Added rotate and blend support to the landscape mirror tool #jira UE-34829 #rb Jack.Porter Change 3117459 on 2016/09/08 by Gareth.Martin Fixed crash saving a hidden landscape level with an offset (cloned from 4.13.1) #jira UE-35301 #rb Jack.Porter Change 3117462 on 2016/09/08 by Gareth.Martin Fixed invisible landscape components and crashes when tessellation is enabled (cloned from 4.13.1) #jira UE-35494 #rb Benn.Gallagher Change 3117583 on 2016/09/08 by Nick.Darnell Continued work on automation support for screenshot comparison, stubbing in a commandlet that can be run after automation tests that would perform the diffing. Need to finish rigging it up so that deltas and results can be dumped out somewhere and consumed by a tool to approve shots. #rb none Change 3117595 on 2016/09/08 by Nick.Darnell Updating the build script for AutomatedTests, going to see if this works! #rb none Change 3117808 on 2016/09/08 by Nick.Darnell Adding header includes for async. #rb none Change 3117812 on 2016/09/08 by Matt.Kuhlenschmidt Partially taken from Pr 2381 Fixed Array Properties to handle duplicates properly and fixed Material Parameter Collection duplicate Guid problem. #rb none Change 3117851 on 2016/09/08 by Jamie.Dale Silenced some redundant P4 errors that could be generated when running a stat update on a file Some of the options produced errors when working with newly added files. These errors are now downgraded to infos like they are for the main stat command. #rb Ben.Marsh #codereview Thomas.Sarkanen Change 3117853 on 2016/09/08 by Gareth.Martin Clean up landscape includes and PCH #rb steve.robb Change 3117859 on 2016/09/08 by Alex.Delesky #jira UE-35321 - Minimized windows will no longer act like they are visible when determining what widgets are currently underneath the mouse. #rb Nick.Darnell Change 3117997 on 2016/09/08 by Nick.Darnell Updating the automation tests build script to use Editor-Cmd #rb none Change 3118005 on 2016/09/08 by Matt.Kuhlenschmidt Properly reference graph node on material expressions so they are not GC'd while an expression still uses them #jira UE-35362 #rb none Change 3118043 on 2016/09/08 by Alex.Delesky #jira UE-30649 - Removed unnecessary returns from UWidget API. PR #2377: fix widget bug. (Contributed by dorgonman) #rb none Change 3118045 on 2016/09/08 by Matt.Kuhlenschmidt Guard against crash saving config during level editor shutdown #rb none #jira UE-35605 Change 3118074 on 2016/09/08 by Matt.Kuhlenschmidt PR #2783: Removed #pragme once from CPP files (Contributed by projectgheist) #rb none Change 3118078 on 2016/09/08 by Michael.Dupuis #jira UE-32065 Removed the -windows that was added as a default option and add it simply if fullscreen is not specified #rb Alexis.Matte Change 3118080 on 2016/09/08 by Michael.Dupuis #jira UE-31131 Do not show a contextual menu if the menu is empty #rb Alexis.Matte Change 3118087 on 2016/09/08 by Matt.Kuhlenschmidt Constify this method #rb none Change 3118166 on 2016/09/08 by Nick.Darnell Trying additional command options for the build machine for automation. #rb none Change 3118222 on 2016/09/08 by Matt.Kuhlenschmidt Fix actor delete during mesh paint not working during undo #rb none #jira UE-35684 Change 3118298 on 2016/09/08 by Alexis.Matte #jira UE-35302 Export all LODs for static mesh when there is no force LOD #rb uriel.doyon Change 3118325 on 2016/09/08 by Matt.Kuhlenschmidt Fixed reset to default not appearing for slate brushes #rb none #jira UE-34958 Change 3119321 on 2016/09/09 by Matt.Kuhlenschmidt Guard against crash with an invalid world trying to be opened from the content browser #rb none https://jira.ol.epicgames.net/browse/UE-35712 Change 3119433 on 2016/09/09 by Nick.Darnell Removing a hack added by Paragon that prevents applications from resizing in real time as the user drags the size of the window around. #rb Matt.Kuklenschmidt #jira UE-35789 Change 3119448 on 2016/09/09 by Alex.Delesky When simulating touch events using the mouse, clicking the mouse will no longer let a drag operation continue. This should also allow the finger that started a drag to continue dragging items until it is released from the surface. #rb Nick.Darnell Change 3119522 on 2016/09/09 by Jamie.Dale Fixed FDetailCategoryImpl::ShouldBeExpanded not honoring bShouldBeInitiallyCollapsed when bRestoreExpansionState was true #rb Matt.Kuhlenschmidt Change 3119528 on 2016/09/09 by Jamie.Dale Some UI re-work to the localization dashboard This makes a better use of the available space, and will make it easier to make some other planned changes in the future. #rb James.Hopkin Change 3119861 on 2016/09/09 by Michael.Dupuis #jira UE-9284 Added the Play/Stop button on the thumbnail #rb Alexis.Matte Change 3120027 on 2016/09/09 by Alexis.Matte incorporate some fixes from licensee for LOD group re-import workflow #jira UE-32268 #rb uriel.doyon #codereview matt.kuhlenschmidt Change 3120845 on 2016/09/12 by Gareth.Martin Fixed crash in landscape editor when "Early Z" is enabled (cloned from 4.13.1) #jira UE-35850 #rb Allan.Bentham Change 3120980 on 2016/09/12 by Nick.Darnell Adding a commandlet that is runnable for comparing screenshots. Adding comparing and exporting capability to the screenshot manager. #rb none Change 3120992 on 2016/09/12 by Alex.Delesky #jira UE-35575 - TScriptInterface UProperties now have asset picker support. #rb Matt.Kuhlenschmidt Change 3121074 on 2016/09/12 by Michael.Dupuis #jira UE-30092 Added path length in error message when typing Added display of current filepath lenght for cooking #rb Alexis.Matte Change 3121113 on 2016/09/12 by Nick.Darnell Adding some placeholder examples to show people how to author tests in EngineTest. #rb none Change 3121152 on 2016/09/12 by Gareth.Martin Added TElementType, TIsContiguousContainer traits Added GetData(), GetNum() generic functions #rb Steve.Robb Change 3121702 on 2016/09/12 by Jamie.Dale Optimized a loop over a sorted list to instead use a binary search This speeds up the short-lived allocation view generation. We also now dump the exception information to the Trace log when in a non-debug build. #rb James.Hopkin Change 3121721 on 2016/09/12 by Jamie.Dale We now set the window mode first when resizing the game viewport to ensure that the work area is correct Fullscreen windows can affect the available work area size, which can break centering when moving between fullscreen and windowed mode. #jira UE-32842 #rb Matt.Kuhlenschmidt Change 3122578 on 2016/09/13 by Jamie.Dale Small code clean up Removed a use of the placement new style array addition. #rb none Change 3122634 on 2016/09/13 by Jamie.Dale We now immediately update DefaultConfigCheckOutNeeded when checking out/making writable the config file, rather than wait for the text tick #jira UE-34865 #rb James.Hopkin Change 3122656 on 2016/09/13 by Jamie.Dale Fixed array combo button not focusing its contents, which prevented the menu closing correctly #jira UE-33667 #rb none Change 3122661 on 2016/09/13 by Nick.Darnell Checkpointing additional work on the screenshot compare dialog, moving some Directory path picker widget into a more common area. Moving some "Find the best top level window handle for this widget for dialogs' code out of the main frame module and into Slate Application where it probably belongs. #rb none Change 3122678 on 2016/09/13 by Jamie.Dale Fixing CIS error on Clang CoreUObject needs to be included before USTRUCT can be used. #rb none Change 3122686 on 2016/09/13 by Jamie.Dale Fixing CIS error on Clang CoreUObject needs to be included before UCLASS can be used. #rb none Change 3122728 on 2016/09/13 by Nick.Darnell UMG - Exposing a trace channel for the WIC, defaults to Visibility. Improving how the WIC handles the cursor moving off the widget, it now maintains the last hit location rather than 0,0 which would cause things like dragged Sliders to reset to the left. Ideally - the WIC would know the underlying widget has capture and continue to fake collision against an imaginary plane to simulate a continuous surface. #jira UE-35167 #rb none Change 3122775 on 2016/09/13 by Nick.Darnell Automation - Fixing an error with the ScreenshotTools plugin, needed to add an the include for Engine.h to the PCH. #rb none Change 3122779 on 2016/09/13 by Nick.Darnell Widgetnimation - Exposing more of the class to C++. #rb none Change 3122793 on 2016/09/13 by Nick.Darnell Fixing a crash in UWidgetComponent::UpdateRenderTarget updating a null material instance. #jira UE-35796 #rb none Change 3122834 on 2016/09/13 by Matt.Kuhlenschmidt Fixed crash undoing moves after bsp creation https://jira.ol.epicgames.net/browse/UE-35880 #rb none Change 3122835 on 2016/09/13 by Nick.Darnell Reverting changes to WIdgetAnimation #rb none Change 3122897 on 2016/09/13 by Matt.Kuhlenschmidt Fixed non-editor compile error #rb none Change 3122988 on 2016/09/13 by Alexis.Matte Material workflow refactor #jira UETOOL-774 #rb matt.kuhlenschmidt Change 3123006 on 2016/09/13 by Jamie.Dale Fixed dynamic collections not returning anything #jira UE-35869 #rb James.Hopkin Change 3123145 on 2016/09/13 by Alexis.Matte Fix fbx automation test. The test found a regression cause by CL: 3120027. In the case where we dont have a LODGroup we dont want to add LODs before the build. #jira UE-32268 #rb none #codereview matt.kuhlenschmidt Change 3123148 on 2016/09/13 by Matt.Kuhlenschmidt Fix fortnite compile error #rb alexis.matte Change 3123208 on 2016/09/13 by Jamie.Dale The 'find culprit' dialog now honors the user choice #rb RichTW Change 3123545 on 2016/09/13 by Nick.Darnell Slate - Adjusting the window dialog host finding code to do a better job of searching for slate windows and excluding popups and non-regular windows. #rb none Change 3124494 on 2016/09/14 by Jamie.Dale Added ~ to the list of invalid characters for object/package names #jira UE-12908 #rb Matt.Kuhlenschmidt Change 3124513 on 2016/09/14 by Gareth.Martin Implemented filter to allow painting foliage on other foliage - Altered foliage filters so it will no longer paint on object types which don't have a filter, e.g. skeletal meshes #rb Allan.Bentham #2472 Change 3124523 on 2016/09/14 by Jamie.Dale PR #2724: Fix ScrollBox right mouse/touch grab scrolling functionality (Contributed by aarmbruster) #jira UE-34811 #jira UE-32082 #rb none Change 3124607 on 2016/09/14 by Nick.Darnell UMG - Adding BoundsScale support to the WidgetComponent's CalcBounds function. #jira UE-35667 #rb none Change 3124785 on 2016/09/14 by Gareth.Martin Made some foliage functions editor-only to fix non-editor build #rb none Change 3124795 on 2016/09/14 by Gareth.Martin Saved/loaded the new foliage filter #rb Allan.Bentham #2472 Change 3124915 on 2016/09/14 by Michael.Dupuis #jira UE-19511 Add support for Add to source control on DefaultEditorPerProjectUserSettings file Remove CheckoutNotice when not editing a DefaultXXXX.ini file Edit proper config file either we're modifying settings from a Default file or Local user file #codereview Matt.Kuhlenschmidt Max.Preussner #rb Alexis.Matte Change 3125266 on 2016/09/14 by Jamie.Dale Fixed ULocalizationTarget::DeleteFiles not deleting cultures, and using SCC wrong #rb none Change 3125385 on 2016/09/14 by Matt.Kuhlenschmidt Fix crash when using SaveAs to save over top of an existing level #rb none https://jira.ol.epicgames.net/browse/UE-35919 https://jira.ol.epicgames.net/browse/UE-35921 Change 3125487 on 2016/09/14 by Alexis.Matte Fix cook content, regression induce by the material workflow refactor #rb matt.kuhlenschmidt Change 3126217 on 2016/09/15 by Gareth.Martin Unset bHasPerInstanceHitProxies on landscape grass components, as they don't have individually editable instances #rb Allan.Bentham Change 3126311 on 2016/09/15 by Jamie.Dale Placement mode fixes - The display name is now cached correctly on construction, and the FPlaceableItem instance used with SPlacementAssetEntry is now const. - Ensured that the ID used by FPlaceableItem could never overflow. - Fixed some types being missing from the "All Classes" list. - Fixed the escape key not cancelling the search. #jira UE-35972 #rb James.Hopkin Change 3126325 on 2016/09/15 by Jamie.Dale Made sure that UWorld::GetAssetRegistryTags called its Super function so that properties tagged as AssetRegistrySearchable will be added. #rb Andrew.Rodham Change 3126403 on 2016/09/15 by Gareth.Martin Added Find and Contains functions to TBitArray #rb Steve.Robb Change 3126405 on 2016/09/15 by Gareth.Martin Allowed instances of Hierarchical Instanced Mesh Components to be moved around with the transform widget in the blueprint editor - Just like regular instanced mesh components! Also fixed not being able to move instances of an instanced mesh component when it is the root component Also also fixed Hierarchical Instanced Mesh Components not flushing their async tree build on saving (this was causing log spam from PostLoad when dragging instances around as the blueprint would constantly reinstance the component before the async tree build had finished) #jira UE-29357 #rb Allan.Bentham Change 3126444 on 2016/09/15 by Jamie.Dale Fixed the loc dashboard configs not working with SCC This isn't a great solution, but the whole way the loc dashboard manages its config data is in need of an overhaul. #rb none Change 3126446 on 2016/09/15 by Jamie.Dale Fixed loc dashboard game and engine targets sharing the same expansion settting #rb none Change 3126555 on 2016/09/15 by Chris.Wood Removed WER from Windows crash handling. Crashes saved to log folder and passed to CRC with explicit path. [UE-34470] - Investigate WER settings and if they can conflict with CRC on Windows #rb Steve.Robb Change 3126586 on 2016/09/15 by Gareth.Martin Fixed missing landscape components when using a LODBias (cloned from 4.13.1) #jira UE-35873 #rb Jack.Porter Change 3126610 on 2016/09/15 by Jamie.Dale Stopped PS4 from always staging all ICU data files #rb Marcus.Wassmer Change 3126779 on 2016/09/15 by Michael.Dupuis #jira UE-32914 Improve the help text to provide usage examples and params #rb Alexis.Matte Change 3126849 on 2016/09/15 by Matt.Kuhlenschmidt Fix font material and outline font material not being animatable in sequencer #rb frank.fella Change 3126858 on 2016/09/15 by Matt.Kuhlenschmidt File not saved #rb none Change 3127001 on 2016/09/15 by Matt.Kuhlenschmidt Fixed reset to default state still not appearing in all cases after changing a property. #rb none Change 3127038 on 2016/09/15 by Nick.Darnell UMG - Improving focus setting for users on widgets. If we're unable to set the focus immediately, possibly because the user is setting focus in the Construct callback before the widget is in the tree, we now update the SlateOperations FReply on LocalPlayer to set focus next frame when it's more likely the widget will become focusable. #rb none Change 3127061 on 2016/09/15 by Nick.Darnell Slate - We now have a reentrancy guard in TPanelChildren to avoid the broad cases where users might attempt to remove children while all children are being removed. Which is an easy case to engineer if you've got widgets spawning children managed by another widget, that all go away at the same time, thus causing the parent to attempt to cleanup children. The end result is a delete while deleting. So now TPanelChildren prevents adds/removes while emptying the list of children. #jira UE-35726 #rb Matt.Kuchlenschmidt Change 3127205 on 2016/09/15 by Alex.Delesky #jira UE-18013 - Users can now add Textures, Materials, or Sprites to a Widget Blueprint directly from the content browser. This also fixes a few issues with adding Widget Blueprints to another Widget BP from the content browser, such as adding a widget to itself or creating a circular dependency. #rb Nick.Darnell Change 3127971 on 2016/09/16 by Matt.Kuhlenschmidt Fix crash in scene outliner if actors become invalid #rb none https://jira.ol.epicgames.net/browse/UE-35932 Change 3128011 on 2016/09/16 by Matt.Kuhlenschmidt Added guards for crashes accessing slate resources for deleted uobjects #rb nick.darnell Change 3128067 on 2016/09/16 by Michael.Dupuis #jira UE-34158 Add an option to auto expand advanced details #rb Alexis.Matte Change 3128073 on 2016/09/16 by Michael.Dupuis #jira UE-1145 Set Save As to Ctrl + Alt + S Set Save All to Ctrl + Shift + S Set Save Current to Ctrl + S #rb Alexis.Matte Change 3128117 on 2016/09/16 by Jamie.Dale Updated the pin-type filter combo to filter on both the localized and source type descriptions #jira UE-36081 #rb none Change 3128177 on 2016/09/16 by Alexis.Matte #jira UE-35946 Remove unnecessary GetReadValue call with bad parameter. The read value call is cache so subsequent call was returning the bad cache value. #rb michael.dupuis #codereview matt.kuhlenschmidt Change 3128387 on 2016/09/16 by Gareth.Martin Fixed location and rotation of arrow widget in the landscape mirror tool when using one of the new "Rotate" modes #jira UE-36093 #rb none Change 3128445 on 2016/09/16 by Matt.Kuhlenschmidt Guard against scene outliner crash. Print out tree when items appear twice. https://jira.ol.epicgames.net/browse/UE-35935 #rb none Change 3128454 on 2016/09/16 by Matt.Kuhlenschmidt Remove category for WindowTitleBarArea. It is very custom for internal use and should not be a top level widget #rb none Change 3128482 on 2016/09/16 by Michael.Dupuis Added new key binding for generic Save, Save As Added new key binding for Save All for the content browser #rb Alexis.Matte (approved by MattK) Change 3128560 on 2016/09/16 by Matt.Kuhlenschmidt Fix build warning #codereview nick.darnell #rb none Change 3128642 on 2016/09/16 by Alexis.Matte #jira UE-36047 We now convert the light color correctly when importing and exporting fbx files. UE4 is sRGB and FBX is linear #rb none #codereview matt.kuhlenschmidt Change 3128733 on 2016/09/16 by Nick.Darnell UMG - Fixing a bad merge, some code was removed causing all BindWidget statements to fail to compile correctly. #jira UE-36105 #rb none Change 3128768 on 2016/09/16 by Matt.Kuhlenschmidt Fix selection outline showing around edges of all internal mesh sections of a component instead of around the entire actor #rb none Change 3128779 on 2016/09/16 by Matt.Kuhlenschmidt Fix offset characters on some small fonts #rb none Change 3130057 on 2016/09/19 by Jamie.Dale Fixing volatility and invalidation issues for text widgets #jira UE-33988 #rb Nick.Darnell Change 3130064 on 2016/09/19 by Jamie.Dale Changed mprof meta-data to allow unicode strings and updated ReadString to deal with them correctly #rb James.Hopkin Change 3130233 on 2016/09/19 by Michael.Dupuis #jira UE-32914 Added missing args that the UI supported #rb Alexis.Matte Change 3130265 on 2016/09/19 by Nick.Darnell Automation - Cleaning up some API items. #rb none Change 3130378 on 2016/09/19 by Matt.Kuhlenschmidt Fix reentrancy saving assets while a prompt for checkout dialog is open #rb none Change 3130398 on 2016/09/19 by Jamie.Dale Fixing UHT error when building #rb none Change 3132101 on 2016/09/20 by Nick.Darnell UMG - Adding a toolbar option in the designer for the 'G' command, similar to 'Game View' in the level editor, it disables all the dashed lines / future editor visuals. #rb none Change 3132110 on 2016/09/20 by Nick.Darnell PR #2792: ShowFlags for WidgetComponents (Contributed by projectgheist) #jira UE-13770 #rb Nick.Darnell Change 3132111 on 2016/09/20 by Nick.Darnell UMG - The retainer now embeds a virtual window into the focus path so that paths are resolved correctly. #rb none Change 3132138 on 2016/09/20 by Michael.Dupuis #jira UE-30945 Added missing PostEditComponentMove after drag is finished #rb Alexis.Matte Change 3132147 on 2016/09/20 by Michael.Dupuis #jira UE-30866 Fixed the filter to work properly #rb Alexis.Matte Change 3132190 on 2016/09/20 by Matt.Kuhlenschmidt Fix static analysis warnings in this file #rb none Change 3132231 on 2016/09/20 by Nick.Darnell Slate - Updating the material blend states to match what is expected of Slate rendering, which differs a lot from the scene renderer with the way it treats alpha. This fixes translucent rendering with the retainer widget, users will need to set their materials to Alpha Composite though for it to behave as expected. #jira UE-33285 #rb none Change 3132255 on 2016/09/20 by Alex.Delesky #jira UE-36048 - TMap and TSet properties are now disallowed from adding more children through the Details panel when they contain the dfault value for a key or element. Reset to Default is also no longer allowed on a Map or Set child when it will result in a second default value existing within the container. #rb Matt.Kuhlenschmidt Change 3132587 on 2016/09/20 by Mike.Fricker MIDI Plugin: Fixed a CIS error in shipping configuration (introduced in CL 3108604) #rb none #lockdown matt.kuhlenschmidt Change 3132623 on 2016/09/20 by Matt.Kuhlenschmidt Fix crash opening the cooker settings https://jira.it.epicgames.net/browse/UE-36197 #rb none #lockdown nick.darnell Change 3133144 on 2016/09/20 by Nick.Darnell Build configuration for automation tests. #rb none #lockdown matt.kuhlenschmidt Change 3133206 on 2016/09/20 by Matt.Kuhlenschmidt Fix default material on odin text #rb none #lockdown nick.darnell Change 3133913 on 2016/09/21 by Nick.Darnell Back out revision 17 from //UE4/Dev-Editor/Engine/Source/Runtime/UMG/Private/Slate/SRetainerWidget.cpp #rb none #jira UE-36231 #lockdown matt.kuhlenschmidt [CL 3133983 by Matt Kuhlenschmidt in Main branch]
2016-09-21 10:07:18 -04:00
Result = LowerLevel->CopyFile(To, From, ReadFlags, WriteFlags);
}
return Result;
}
void FPakPlatformFile::UnloadPakEntryFilenames(TArray<FString>* DirectoryRootsToKeep)
{
TArray<FPakListEntry> Paks;
GetMountedPaks(Paks);
FPlatformMisc::LowLevelOutputDebugStringf(TEXT("Unloading Pak Entry Filenames"));
for (auto Pak : Paks)
{
Pak.PakFile->UnloadPakEntryFilenames(DirectoryRootsToKeep);
}
}
void FPakPlatformFile::ShrinkPakEntriesMemoryUsage()
{
TArray<FPakListEntry> Paks;
GetMountedPaks(Paks);
for (auto Pak : Paks)
{
Pak.PakFile->ShrinkPakEntriesMemoryUsage();
}
}
/**
* Module for the pak file
*/
class FPakFileModule : public IPlatformFileModule
{
public:
virtual IPlatformFile* GetPlatformFile() override
{
check(Singleton.IsValid());
return Singleton.Get();
}
virtual void StartupModule() override
{
Singleton = MakeUnique<FPakPlatformFile>();
FModuleManager::LoadModuleChecked<IModuleInterface>(TEXT("RSA"));
}
virtual void ShutdownModule() override
{
// remove ourselves from the platform file chain (there can be late writes after the shutdown).
if (Singleton.IsValid())
{
if (FPlatformFileManager::Get().FindPlatformFile(Singleton.Get()->GetName()))
{
FPlatformFileManager::Get().RemovePlatformFile(Singleton.Get());
}
}
Singleton.Reset();
}
TUniquePtr<IPlatformFile> Singleton;
};
IMPLEMENT_MODULE(FPakFileModule, PakFile);